diff --git a/src/store/user/loginUserSlice.ts b/src/store/user/loginUserSlice.ts index f69f23a..9f7e7da 100644 --- a/src/store/user/loginUserSlice.ts +++ b/src/store/user/loginUserSlice.ts @@ -1,8 +1,14 @@ import { createSlice } from "@reduxjs/toolkit"; +type UserInterface = { + id: number; + name: string; + email: string; + avatar: string; +}; type UserStoreInterface = { - user: any; - departments: any; + user: UserInterface | null; + departments: string[]; isLogin: boolean; };