refactors server route for brevity, state working, styling matching to chatgpt

This commit is contained in:
Danny Avila 2023-02-13 13:32:54 -05:00
parent dcf4f2a524
commit acaef39d12
10 changed files with 75 additions and 53 deletions

View file

@ -1,4 +1,4 @@
import { createSlice } from '@reduxjs/toolkit';
import { createSlice, current } from '@reduxjs/toolkit';
const initialState = {
error: false,

View file

@ -11,5 +11,6 @@ export const store = configureStore({
messages: messageReducer,
text: textReducer,
submit: submitReducer,
}
},
devTools: true,
});