edit login

This commit is contained in:
hamid zarghami
2025-11-12 11:07:16 +03:30
parent 404db3d30a
commit 76a4db8c4e
5 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ const App: FC = () => {
const [isLogin, setIsLogin] = useState<'checking' | 'isLogin' | 'isNotLogin'>('checking')
useEffect(() => {
const token = getToken() || 'test'
const token = getToken()
if (token) {
setIsLogin('isLogin')
} else {