fix token

This commit is contained in:
Arseniy Sitnikov 2024-12-12 23:04:42 +03:00
parent 16932959d5
commit 51f4599031
2 changed files with 2 additions and 2 deletions

BIN
frontend/src/.DS_Store vendored

Binary file not shown.

View File

@ -19,8 +19,8 @@ export function useTgData() {
const [user, token]: [IUserTg, string] = verificationTg();
if (token.length != 0 && user.id && user.id.length != 0) {
setVerified(true);
//dispatch<any>(saveToken(token));
dispatch<any>(saveToken(savedToken));
dispatch<any>(saveToken(token));
//dispatch<any>(saveToken(savedToken));
dispatch<any>(setUserTg(user));
} else {
setVerified(false);