From 1aa472cad88a37f7beee2b14700b443efcddfb32 Mon Sep 17 00:00:00 2001 From: Matt Davidson Date: Thu, 7 May 2026 13:43:51 -0700 Subject: [PATCH] chore: drop Link legacyBehavior Removes the deprecated + wrapper pattern in favour of Next.js's current API (). 5 sites: 3 in Layout.js (logo, mobile menu, profile dropdown), and 1 each in LoginWithEmail.js and LoginWithSSO.js (footer cross-links). No UX change. Removes the deprecation warning in dev console. --- components/Layout.js | 33 ++++++++++++++++----------------- components/LoginWithEmail.js | 6 ++---- components/LoginWithSSO.js | 6 ++---- 3 files changed, 20 insertions(+), 25 deletions(-) diff --git a/components/Layout.js b/components/Layout.js index 6bcab1f..53e5f5c 100644 --- a/components/Layout.js +++ b/components/Layout.js @@ -37,10 +37,8 @@ export default function Layout(props) { <>
- - - SuperApp Logo - + + SuperApp Logo

Or{' '} - - - continue with SAML SSO - + + continue with SAML SSO

diff --git a/components/LoginWithSSO.js b/components/LoginWithSSO.js index 413e259..792b6d3 100644 --- a/components/LoginWithSSO.js +++ b/components/LoginWithSSO.js @@ -48,10 +48,8 @@ export default class LoginWithSSO extends React.Component {

Or{' '} - - - continue with Magic Link - + + continue with Magic Link