refactor(lstv2): cleanup

This commit is contained in:
2025-09-22 22:41:19 -05:00
parent 8f1375ab7b
commit edbc7cefd8
3 changed files with 2 additions and 8 deletions

View File

@@ -23,6 +23,7 @@ const LoginForm = () => {
const username = localStorage.getItem("username") || ""; const username = localStorage.getItem("username") || "";
const router = useRouter(); const router = useRouter();
const search = useSearch({ from: "/login" }); const search = useSearch({ from: "/login" });
const { const {
register, register,
handleSubmit, handleSubmit,

View File

@@ -20,17 +20,10 @@ export const SessionProvider = ({
useEffect(() => { useEffect(() => {
fetchModules(); fetchModules();
fetchSettings(); fetchSettings();
console.log("settings grab ran");
fetchUserRoles(); fetchUserRoles();
fetchSubModules(); fetchSubModules();
}, []); }, []);
//temp
localStorage.removeItem("ally-supports-cache");
localStorage.removeItem("auth-storage");
localStorage.removeItem("nextauth.message");
localStorage.removeItem("prod");
localStorage.removeItem("card-storage");
return ( return (
<QueryClientProvider client={queryClient}> <QueryClientProvider client={queryClient}>
{children} {children}

View File

@@ -71,7 +71,7 @@ export const Route = createRootRoute({
href={`https://${server[0].value}.alpla.net/lst/d`} href={`https://${server[0].value}.alpla.net/lst/d`}
target="_blank" target="_blank"
> >
LST - Docs LST - Docs |
</a> </a>
)} )}
</div> </div>