diff --git a/apps/staking/components/NodeRegistrationCard.tsx b/apps/staking/components/NodeRegistrationCard.tsx index e6a4ca26..3c124875 100644 --- a/apps/staking/components/NodeRegistrationCard.tsx +++ b/apps/staking/components/NodeRegistrationCard.tsx @@ -17,7 +17,10 @@ const NodeRegistrationCard = forwardRef< const { pubkey_ed25519: pubKey, type: nodeType } = node; - const isRegistrationFormOpen = useMemo(() => pathname === `/register/${pubKey}`, [pathname]); + const isRegistrationFormOpen = useMemo( + () => pathname === `/register/${pubKey}`, + [pathname, pubKey] + ); // TODO - Include feature when we have user preference support /*const hideRegistrationsEnabled = useExperimentalFeatureFlag(