init commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import { createSlice } from "@reduxjs/toolkit"
|
||||
|
||||
interface AuthState {
|
||||
isAuthenticated: boolean
|
||||
}
|
||||
|
||||
const initialState: AuthState = {
|
||||
isAuthenticated: false
|
||||
}
|
||||
|
||||
const authSlice = createSlice({
|
||||
name: "auth",
|
||||
initialState,
|
||||
reducers: {
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
// export const { } = authSlice.actions
|
||||
export default authSlice.reducer
|
||||
Reference in New Issue
Block a user