format: whole project

This commit is contained in:
James Xylight committed 2025-02-04 16:23:31 -08:00
1 parent b883b5f6e0
commit 80269cf275
79 files changed
+590 -612

No files matched your search

+2 -2
View File
@@ -19,7 +19,7 @@ interface SessionStorage {
export const setSessionStorage = (
key: keyof SessionStorage,
value: SessionStorage[typeof key]
value: SessionStorage[typeof key],
) => {
if (!browser) return
if (value == undefined) {
@@ -30,7 +30,7 @@ export const setSessionStorage = (
}
export const getSessionStorage = (
key: keyof SessionStorage
key: keyof SessionStorage,
): SessionStorage[typeof key] => {
if (!browser) return
return JSON.parse(sessionStorage.getItem(key)!)