websocket bug fiz
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user