AniX/frontend/app/history/page.js

10 lines
276 B
JavaScript

"use client";
import { LogInNeeded } from "@/app/components/LogInNeeded/LogInNeeded";
import { useUserStore } from "@/app/store/user-store";
export default function History() {
const userStore = useUserStore();
return <>{!userStore.isAuth ? <LogInNeeded /> : ""}</>;
}