Browse Source

fix(settings): add notClearable prop to language selection (#13406)

aplio 2 tháng trước cách đây
mục cha
commit
0451333990
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      web/app/components/app/overview/settings/index.tsx

+ 1 - 0
web/app/components/app/overview/settings/index.tsx

@@ -289,6 +289,7 @@ const SettingsModal: FC<ISettingsModalProps> = ({
               items={languages.filter(item => item.supported)}
               defaultValue={language}
               onSelect={item => setLanguage(item.value as Language)}
+              notClearable
             />
           </div>
           {/* theme color */}