Skip to content

Commit 86ee8ed

Browse files
committed
chore: Remove unused disables
1 parent 982b24d commit 86ee8ed

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/features/instance/config/roles/modals/EditRoleModal.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ export function EditRoleModal({
6767
showAttributes: showAttributes,
6868
}), null, 2);
6969
// We exclude updatedPermissions on purpose from the deps.
70-
// eslint-disable-next-line react-hooks/exhaustive-deps
7170
}, [initialPermissions, instanceDatabaseMap, registrationInfo, showAttributes]);
7271

7372
useEffect(() => {

src/hooks/useDebounce.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export function useDebounce<T>(value: T, delay: number = 300, hasher?: (value: T
1515
const timer = setTimeout(() => setDebouncedValue(value), delay);
1616
return () => clearTimeout(timer);
1717
// We watch the hashed value, and the delay, so that we can decide when to bust the state.
18-
// eslint-disable-next-line react-hooks/exhaustive-deps
1918
}, [hashed, delay]);
2019

2120
return debouncedValue;

0 commit comments

Comments
 (0)