Fix React Rules violations, enable strict lint

This commit is contained in:
Dan Abramov
2024-11-17 20:40:51 +00:00
parent c2ee0ee910
commit 6e4646e1a9
19 changed files with 141 additions and 128 deletions
+2
View File
@@ -80,6 +80,8 @@ export function Signup({onPressBack}: {onPressBack: () => void}) {
React.useEffect(() => {
if (state.pendingSubmit) {
if (!state.pendingSubmit.mutableProcessed) {
// FIXME
// eslint-disable-next-line react-compiler/react-compiler
state.pendingSubmit.mutableProcessed = true
submit(state, dispatch)
}