Typo in name LOL
This commit is contained in:
parent
3ffe3de5c4
commit
398b2df042
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "zoomaccell",
|
||||
"name": "zoomaccel",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue