소스 검색

apply prettier

GitOrigin-RevId: dd750756d2bfc625817760510e9bdbade186aef3
M Fahru 3 년 전
부모
커밋
8ae9839f79
1개의 변경된 파일과 2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      services/web/frontend/js/features/editor-left-menu/hooks/use-save-user-settings.tsx

+ 2 - 4
services/web/frontend/js/features/editor-left-menu/hooks/use-save-user-settings.tsx

@@ -3,10 +3,8 @@ import { saveUserSettings } from '../utils/api'
 import type { UserSettingsScope } from '../utils/api'
 
 export default function useSaveUserSettings() {
-  const [userSettingsScope, setUserSettingsScope] = useScopeValue<UserSettingsScope>(
-    'settings',
-    true
-  )
+  const [userSettingsScope, setUserSettingsScope] =
+    useScopeValue<UserSettingsScope>('settings', true)
 
   return <T,>(key: keyof UserSettingsScope, newSetting: T) => {
     const currentSetting = userSettingsScope[key]