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,
"version": "0.0.0",
"type": "module",

View file

@ -9,7 +9,7 @@ interface AppState {
// Persist app state to localStorage
export const saveState = (state: AppState) => {
try {
localStorage.setItem('zoomaccell_state', JSON.stringify(state));
localStorage.setItem('zoomaccel_state', JSON.stringify(state));
} catch (error) {
console.error('Failed to save state:', error);
}
@ -17,7 +17,7 @@ export const saveState = (state: AppState) => {
export const loadState = (): AppState | null => {
try {
const savedState = localStorage.getItem('zoomaccell_state');
const savedState = localStorage.getItem('zoomaccel_state');
if (savedState) {
return JSON.parse(savedState);
}
@ -52,7 +52,7 @@ export const exportToCSV = (rounds: Round[]) => {
const curveData = maxCurvePoints > 0
? Array.from({ length: maxCurvePoints }, (_, i) =>
round.accelerationCurve?.[i]?.toFixed(2) || '')
round.accelerationCurve?.[i]?.toFixed(2) || '')
: [];
return [...baseData, ...curveData];