diff --git a/src/layouts/LoginLayout/LoginLayout.tsx b/src/layouts/LoginLayout/LoginLayout.tsx index 654e82ea37..96d8973ca0 100644 --- a/src/layouts/LoginLayout/LoginLayout.tsx +++ b/src/layouts/LoginLayout/LoginLayout.tsx @@ -16,7 +16,7 @@ const LoginLayout: React.FC = ({ children }) => { const location = useLocation() return ( - <> +
{location.search.includes('expired') && } }> @@ -25,7 +25,7 @@ const LoginLayout: React.FC = ({ children }) => {
) } diff --git a/src/sentry.ts b/src/sentry.ts index 2c53256335..d2a5843ab9 100644 --- a/src/sentry.ts +++ b/src/sentry.ts @@ -42,6 +42,12 @@ const deClutterConfig = { // See http://toolbar.conduit.com/Developer/HtmlAndGadget/Methods/JSInjection.aspx 'conduitPage', ...customIgnoredErrors, + // rrweb (Sentry Replay) monkey-patches DOM methods and can conflict with + // React's reconciler when its initialization fails (e.g. adoptedStyleSheets + // already defined by a browser extension). These errors are third-party + // DOM conflicts, not app bugs. + /Failed to execute 'insertBefore' on 'Node'/, + /Failed to execute 'removeChild' on 'Node'/, ], denyUrls: [ // Facebook flakiness