migration of comments

This commit is contained in:
Michael Freno
2025-12-17 22:47:19 -05:00
parent a092c57d36
commit 1bc57c61eb
37 changed files with 3022 additions and 442 deletions

View File

@@ -7,14 +7,11 @@ const SplashContext = createContext<{
setShowSplash: (show: boolean) => void;
}>({
showSplash: () => true,
setShowSplash: () => {},
setShowSplash: () => {}
});
export function useSplash() {
const context = useContext(SplashContext);
if (!context) {
throw new Error("useSplash must be used within a SplashProvider");
}
return context;
}