mirror of
https://github.com/Radiquum/AniX.git
synced 2025-05-03 19:39:39 +05:00
frontend: add loginNeeded component
This commit is contained in:
parent
dcce13b86b
commit
b9af35ee75
3 changed files with 27 additions and 1 deletions
10
frontend/app/history/page.js
Normal file
10
frontend/app/history/page.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
"use client";
|
||||
|
||||
import { LogInNeeded } from "@/app/components/LogInNeeded/LogInNeeded";
|
||||
import { useUserStore } from "@/app/store/user-store";
|
||||
|
||||
export default History = () => {
|
||||
const userStore = useUserStore();
|
||||
|
||||
return <>{!userStore.isAuth ? <LogInNeeded /> : ""}</>;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue