From 569bdb8c5d7538fa0ea8a99ff2f8376f7cbfa51a Mon Sep 17 00:00:00 2001 From: piotrruss Date: Mon, 6 Sep 2021 23:13:22 +0200 Subject: added stadard linter --- apps/Notes/hooks/useNotes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/Notes/hooks/useNotes.js') diff --git a/apps/Notes/hooks/useNotes.js b/apps/Notes/hooks/useNotes.js index 586ceeb..d02be10 100644 --- a/apps/Notes/hooks/useNotes.js +++ b/apps/Notes/hooks/useNotes.js @@ -1,7 +1,7 @@ import useSWR from 'swr' -export default function useNotes(){ +export default function useNotes () { const { data: notes, error, mutate: mutateNotes } = useSWR('/api/notes') - return {notes, mutateNotes, error} + return { notes, mutateNotes, error } } -- cgit v1.2.3