From 7375ab3d0aa1ab2e99c9a5507de2bef9a4e6e14c Mon Sep 17 00:00:00 2001 From: Team1280Programming Date: Thu, 15 Feb 2024 02:43:29 +0000 Subject: [PATCH] style: format --- src/app/db/workers/authorLoader.worker.ts | 4 +--- src/app/document/view/[slug]/VersionChooser.tsx | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) 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])