Added async thunk
This commit is contained in:
1 parent
69c24223ab
commit
91891b1a90
3 files changed
+65
-10
No files matched your search
@@ -22,6 +22,10 @@ export const register = createAsyncThunk(
|
||||
}
|
||||
);
|
||||
|
||||
export const login = createAsyncThunk("auth/login", async (form, thunkApi) => {
|
||||
console.log(form);
|
||||
});
|
||||
|
||||
const authSlice = createSlice({
|
||||
name: "auth",
|
||||
initialState,
|
||||
|
||||
Reference in new issue
Block a user