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
@@ -23,7 +23,6 @@ type ProjectCreateFormValues = {
};
export default function ProjectCreateForm({ onClose }: ProjectCreateFromProps) {
'use no memo'; // RHF and react-compiler don't seem to get along
const [error, setError] = useState<string | null>(null);
const {
@@ -20,7 +20,6 @@ interface ProjectFormProps {
}
export default function ProjectForm({ action, filename, onSubmit, onCancel }: ProjectFormProps) {
'use no memo'; // RHF and react-compiler don't seem to get along
const {
handleSubmit,
register,
@@ -28,7 +28,6 @@ type ProjectMergeFormValues = {
};
export default function ProjectMergeForm({ onClose, fileName }: ProjectMergeFromProps) {
'use no memo'; // RHF and react-compiler don't seem to get along
const [error, setError] = useState<string | null>(null);
const queryClient = useQueryClient();