blob: 01cd4e5e8a649ee3d91b1414fecc1dd3b52d9c9e [file] [log] [blame]
import { createSlice } from "@reduxjs/toolkit";
import type { AuthState } from "../../store/types";
const initialState: AuthState = {
token: '',
loading: false,
isAuth: false,
}
const authSlice = createSlice({
name: 'auth',
initialState,
reducers: {},
});
export default authSlice.reducer;