Skip to content

Commit

Permalink
remove unnecessary TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
lubieowoce committed Jul 29, 2024
1 parent 4acd288 commit 0184b34
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/next/src/client/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,6 @@ export default function Form({
disabled: !isNavigatingForm, // if we don't have an action path, we can't preload anything anyway.
})

// TODO: Link does something like this in addition, do we need it?
// check if visible state need to be reset
// if (previousActionProp.current !== actionProp) {
// resetVisible()
// previousActionProp.current = actionProp
// }
const ownRef = useMergedRef<HTMLFormElement>(
setIntersectionRef,
externalRef ?? null
Expand Down

0 comments on commit 0184b34

Please sign in to comment.