diff --git a/src/components/Views/AllAuthors/AllAuthors.tsx b/src/components/Views/AllAuthors/AllAuthors.tsx index 25cd9d9e..b8de51a4 100644 --- a/src/components/Views/AllAuthors/AllAuthors.tsx +++ b/src/components/Views/AllAuthors/AllAuthors.tsx @@ -56,7 +56,7 @@ export const AllAuthors = (props: Props) => { }) const sortedKeys = createMemo(() => { - const keys = Object.keys(byLetterFiltered()||{}) + const keys = Object.keys(byLetterFiltered() || {}) keys.sort() const fk = keys.shift() || '' fk && keys.push(fk) diff --git a/src/context/localize.tsx b/src/context/localize.tsx index 5cc21a28..af299ebf 100644 --- a/src/context/localize.tsx +++ b/src/context/localize.tsx @@ -86,7 +86,7 @@ export const LocalizeProvider = (props: { children: JSX.Element }) => { t: ((s: string) => { try { return i18next.t(s) - } catch(_) { + } catch (_) { return s } }) as i18n['t'], diff --git a/src/routes/edit/[id]/settings.tsx b/src/routes/edit/[id]/settings.tsx index 19519a20..6c59cb51 100644 --- a/src/routes/edit/[id]/settings.tsx +++ b/src/routes/edit/[id]/settings.tsx @@ -25,7 +25,6 @@ export const EditSettingsPage = () => { } } return ( -