frontend/stores: fix typo
Pedro Lucas Porcellis porcellis@eletrotupi.com · 5 months ago
2454104ffdf8fa9a5a1ee482f58928417aa1fdc7 Browse filesParents
fba9cebChanged files
1
Additions
+2
Deletions
-2
frontend/stores/moodEntry.ts
1 1
import { create } from 'zustand';
2 2
3 3
export interface ActiveMoodComponent {
4 -
i: string; // matches MoodComponentDefinition.id
5 -
intensity: number; // 1–10
4 +
id: string; // matches MoodComponentDefinition.id
5 +
intensity: number; // 1–3
6 6
}
7 7
8 8
interface MoodEntryState {
9 9
// The mood selected in the main screen (e.g. 'good')
10 10
selectedMood: string | null;
48 48
),
49 49
})),
50 50
51 51
reset: () => set({ selectedMood: null, components: [] }),
52 52
}));