refactor(lst): refactor to monolithic completed

This commit is contained in:
2025-02-19 14:07:51 -06:00
parent b15f1d8ae8
commit dae00716ec
71 changed files with 225 additions and 624 deletions

View File

@@ -0,0 +1,12 @@
import {useSessionStore} from "../store/sessionStore";
export const useLogout = () => {
const clearSession = useSessionStore((state) => state.clearSession);
const logout = () => {
clearSession(); // Clears Zustand state
return "Logged out";
};
return logout;
};