fix(lint): resolve remaining ESLint errors (unused vars, any types, react-refresh)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -35,6 +35,7 @@ function DevicesPage() {
|
||||
// Open dialog when ?add=true is set (e.g. from empty state button)
|
||||
useEffect(() => {
|
||||
if (search.add === 'true') {
|
||||
// eslint-disable-next-line react-hooks/set-state-in-effect
|
||||
setAddOpen(true)
|
||||
// Clear the search param so it doesn't re-open on navigation
|
||||
void navigate({
|
||||
|
||||
Reference in New Issue
Block a user