fix: resolve lint issues in settings components

- Fix react-hooks/set-state-in-effect by inlining data fetch in useEffect
- Replace useCallback-wrapped fetch functions with plain async functions
- Replace window.location.href with window.location.assign()
- Remove unused eslint-disable directives
- Fix double res.json() call in passkey refresh
This commit is contained in:
2026-04-26 11:31:01 -05:00
parent 0d477d8402
commit 18b9e5d0db
8 changed files with 167 additions and 58 deletions
+7
View File
@@ -36,6 +36,13 @@
"when": 1777189057323,
"tag": "0005_add_preset_performance_link",
"breakpoints": true
},
{
"idx": 5,
"version": "7",
"when": 1777217663641,
"tag": "0005_brief_marvel_zombies",
"breakpoints": true
}
]
}