Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Commit

Permalink
fix: autorun controlled component warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
pompurin404 committed Feb 4, 2025
1 parent f2a4049 commit 32d9133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/src/components/settings/general-config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { useTranslation } from 'react-i18next'

const GeneralConfig: React.FC = () => {
const { t, i18n } = useTranslation()
const { data: enable, mutate: mutateEnable } = useSWR('checkAutoRun', checkAutoRun)
const { data: enable = false, mutate: mutateEnable } = useSWR('checkAutoRun', checkAutoRun)
const { appConfig, patchAppConfig } = useAppConfig()
const [customThemes, setCustomThemes] = useState<{ key: string; label: string }[]>()
const [openCSSEditor, setOpenCSSEditor] = useState(false)
Expand Down

0 comments on commit 32d9133

Please sign in to comment.