style: rename hook for the global usage

This commit is contained in:
Julien Calixte
2024-10-27 12:34:26 +01:00
parent 84789393ad
commit 786286391a
2 changed files with 3 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
<script setup lang="ts">
import { useOfflineNote } from '@/hooks/useOfflineNote.hook'
import { useOfflineNotes } from '@/hooks/useOfflineNotes.hook'
const { cacheAllNotes, isLoading, totalOfNotes, noteCompleted } =
useOfflineNote()
useOfflineNotes()
const confirmBeforeCachingAllNotes = () => {
confirm('Do you want to cache all notes?')