Skip to content

Commit 1d8b722

Browse files
committed
Remove obsolete eslint-disable directives
1 parent 0d79534 commit 1d8b722

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

packages/next/src/next-devtools/dev-overlay/components/devtools-indicator/hooks/use-update-animation.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export function useUpdateAnimation(
1919
return
2020
}
2121

22-
// eslint-disable-next-line react-hooks/set-state-in-effect -- TODO
2322
setAnimate(true)
2423
// It is important to use a CSS transitioned state, not a CSS keyframed animation
2524
// because if the issue count increases faster than the animation duration, it

packages/next/src/next-devtools/dev-overlay/components/devtools-panel/resize/resize-handle.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ export const ResizeHandle = ({
7676
const borderBottom = parseFloat(computedStyle.borderBottomWidth) || 0
7777
const borderLeft = parseFloat(computedStyle.borderLeftWidth) || 0
7878

79-
// eslint-disable-next-line react-hooks/set-state-in-effect -- TODO
8079
setBorderWidths({
8180
top: borderTop,
8281
right: borderRight,

0 commit comments

Comments
 (0)