From 0184b346ec8a52671cdad7532908649e8be5f594 Mon Sep 17 00:00:00 2001 From: Janka Uryga Date: Tue, 30 Jul 2024 01:31:21 +0200 Subject: [PATCH] remove unnecessary TODO --- packages/next/src/client/form.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/next/src/client/form.tsx b/packages/next/src/client/form.tsx index 0a8698e0019d0..7f257e88c65f6 100644 --- a/packages/next/src/client/form.tsx +++ b/packages/next/src/client/form.tsx @@ -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( setIntersectionRef, externalRef ?? null