1
0
Fork 0

Typo in name LOL

This commit is contained in:
Atridad Lahiji 2025-02-13 20:37:13 -06:00
parent 3ffe3de5c4
commit 398b2df042
Signed by: atridad
SSH key fingerprint: SHA256:LGomp8Opq0jz+7kbwNcdfTcuaLRb5Nh0k5AchDDb438
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
{ {
"name": "zoomaccell", "name": "zoomaccel",
"private": true, "private": true,
"version": "0.0.0", "version": "0.0.0",
"type": "module", "type": "module",

View file

@ -9,7 +9,7 @@ interface AppState {
// Persist app state to localStorage // Persist app state to localStorage
export const saveState = (state: AppState) => { export const saveState = (state: AppState) => {
try { try {
localStorage.setItem('zoomaccell_state', JSON.stringify(state)); localStorage.setItem('zoomaccel_state', JSON.stringify(state));
} catch (error) { } catch (error) {
console.error('Failed to save state:', error); console.error('Failed to save state:', error);
} }
@ -17,7 +17,7 @@ export const saveState = (state: AppState) => {
export const loadState = (): AppState | null => { export const loadState = (): AppState | null => {
try { try {
const savedState = localStorage.getItem('zoomaccell_state'); const savedState = localStorage.getItem('zoomaccel_state');
if (savedState) { if (savedState) {
return JSON.parse(savedState); return JSON.parse(savedState);
} }