fix token
This commit is contained in:
parent
16932959d5
commit
51f4599031
BIN
frontend/src/.DS_Store
vendored
BIN
frontend/src/.DS_Store
vendored
Binary file not shown.
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user