Added placeholder-text for overview

This commit is contained in:
z1glr
2025-01-30 23:13:42 +00:00
parent 6d965b5a03
commit da06038263
6 changed files with 56 additions and 31 deletions

View File

@@ -1,8 +1,8 @@
"use client";
import Loading from "@/components/Loading";
import { apiCall } from "@/lib";
import zustand, { StateUser } from "@/Zustand";
import { Spinner } from "@heroui/react";
import { usePathname, useRouter } from "next/navigation";
import React, { useEffect, useState } from "react";
@@ -58,7 +58,7 @@ export default function Main({ children }: { children: React.ReactNode }) {
switch (auth) {
case AuthState.Loading:
return <Spinner label="Loading..." />;
return <Loading />;
case AuthState.LoggedIn:
case AuthState.LoginScreen:
return children;