This commit is contained in:
2024-06-09 20:41:57 +03:00
parent 175d2f9cd4
commit 3fb38cac3a
17 changed files with 549 additions and 39 deletions

View File

@ -12,7 +12,7 @@ import { NewsApi } from "../slice/NewsApi";
export type AuthDataType = {
token: string | null;
clientId: string | null;
user: { name: string | null; username: string } | null;
user: { id: string | null; name: string | null; username: string } | null;
};
const initialAuthDataState: AuthDataType = {