From b62deafe16d89e110029bc5334a9f5c1c6396bc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20LeBlanc?= Date: Tue, 10 Oct 2023 23:07:52 -0400 Subject: [PATCH] Fix state name --- src/stores/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/index.ts b/src/stores/index.ts index 95e84a4..51f2ba1 100644 --- a/src/stores/index.ts +++ b/src/stores/index.ts @@ -28,7 +28,7 @@ export const useIndexStore = defineStore('store', () => { const selectedDay = useLocalStorage('selectedDay', ref(new Date().toLocaleDateString('en-CA'))); const filter = useLocalStorage('filter', ref('daily')); const selectedTabIndex = useLocalStorage('selectedTabIndex', ref(0)); - const sort = useLocalStorage('entries', ref('name')); + const sort = useLocalStorage('sort', ref('name')); const weekObjective = useLocalStorage('weekObjective', ref('40:00')); const menuOpened = ref(false);