From 137aa698bbd0effc7493e778b5f086724c8b8816 Mon Sep 17 00:00:00 2001 From: LASER-Yi Date: Tue, 5 Apr 2022 21:57:11 +0800 Subject: [PATCH] no log: Fix format issues --- .../pages/Settings/Languages/components.tsx | 39 ++++++++++--------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/frontend/src/pages/Settings/Languages/components.tsx b/frontend/src/pages/Settings/Languages/components.tsx index 3fc262706..473e7a6a0 100644 --- a/frontend/src/pages/Settings/Languages/components.tsx +++ b/frontend/src/pages/Settings/Languages/components.tsx @@ -28,24 +28,25 @@ export const LanguageSelector: FunctionComponent< ); }; -export const ProfileSelector: FunctionComponent> = - ({ settingKey }) => { - const profiles = useLatestProfiles(); +export const ProfileSelector: FunctionComponent< + BaseInput +> = ({ settingKey }) => { + const profiles = useLatestProfiles(); - const profileOptions = useMemo[]>( - () => - profiles.map((v) => { - return { label: v.name, value: v.profileId }; - }), - [profiles] - ); + const profileOptions = useMemo[]>( + () => + profiles.map((v) => { + return { label: v.name, value: v.profileId }; + }), + [profiles] + ); - return ( - (v === null ? "" : v)} - > - ); - }; + return ( + (v === null ? "" : v)} + > + ); +};