AniX/frontend/app/history/page.js

10 lines
274 B
JavaScript

"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 /> : ""}</>;
};