diff --git a/src/app/db/workers/authorLoader.worker.ts b/src/app/db/workers/authorLoader.worker.ts index 99fd243..7753a68 100644 --- a/src/app/db/workers/authorLoader.worker.ts +++ b/src/app/db/workers/authorLoader.worker.ts @@ -12,7 +12,5 @@ onmessage = (e) => { let authors = [] checkIsStringArray(e.data) && (authorIds = e.data as string[]) - authorIds.forEach(id => { - - }) + authorIds.forEach((id) => {}) } diff --git a/src/app/document/view/[slug]/VersionChooser.tsx b/src/app/document/view/[slug]/VersionChooser.tsx index 70f532e..f2d92fe 100644 --- a/src/app/document/view/[slug]/VersionChooser.tsx +++ b/src/app/document/view/[slug]/VersionChooser.tsx @@ -18,7 +18,7 @@ const VersionChooser = ({ }, }) if (error) throw error - + useEffect(() => { console.log(data) }, [data])