Revert null check in mountLinkInstance (#76289)
This null check was added as an incidental change in #75981 but I'm not convinced it's actually necessary. Even if it is, it needs to be fixed in the caller, because it means the type is incorrect. I have a suspicion that it was added before the fix to `useMergedRef` landed here: https://github.com/vercel/next.js/pull/75088 If it turns out that this argument is still sometimes `null`, it suggests that there's a bug in `useMergedRef` and we need to fix it there.
Showing
Please
register
or
sign in
to comment