refactor: small code cleanups

- remove compiler directives
This commit is contained in:
Carlos Valente
2025-07-27 17:10:21 +02:00
committed by Carlos Valente
parent 8a7f8c8ebc
commit 9ab54edbf5
11 changed files with 0 additions and 13 deletions
@@ -16,7 +16,6 @@ import * as Panel from '../../panel-utils/PanelUtils';
import GeneralPinInput from './composite/GeneralPinInput';
export default function GeneralSettings() {
'use no memo'; // RHF and react-compiler don't seem to get along
const { data, status, refetch } = useSettings();
const {
handleSubmit,
@@ -18,7 +18,6 @@ import * as Panel from '../../panel-utils/PanelUtils';
import style from './SettingsPanel.module.scss';
export default function ProjectData() {
'use no memo'; // RHF and react-compiler don't seem to get along
const { data, status } = useProjectData();
const { updateProjectData } = useUpdateProjectData();
@@ -18,7 +18,6 @@ import CodeEditorModal from './composite/StyleEditorModal';
const cssOverrideDocsUrl = 'https://docs.getontime.no/features/custom-styling/';
export default function ViewSettings() {
'use no memo'; // RHF and react-compiler don't seem to get along
const { data, isPending, mutateAsync } = useViewSettings();
const [isCodeEditorOpen, codeEditorHandler] = useDisclosure();