websocket bug fiz

This commit is contained in:
Samandar Turgunboyev
2025-11-29 10:34:56 +05:00
parent 6cf0a4200b
commit 5c4e1327be
3 changed files with 8 additions and 3 deletions

View File

@@ -110,7 +110,7 @@ const TokenLayout = ({ children }: { children: React.ReactNode }) => {
);
}
return <>{token || gettoken ? children : <LoginForm />}</>;
return <>{token || gettoken ? children : <LoginForm onLogin={login} />}</>;
};
export default TokenLayout;