// PeakDigit brand override — SAFE MODE. // Only touches document.title and re-positions our own // inside to always be LAST. Never touches document.body: earlier // versions of this script rewrote text nodes / replaced inline // elements live inside , which raced React's own hydration and // caused React errors #418/#423 (blank page). reordering is safe // because React does not own in this app (no react-helmet-style // head management observed), so nothing here can trigger a hydration // mismatch. (function () { var BRAND_WORDS = /\b(Metabase|Plane)\b/g; function swapTitle() { if (BRAND_WORDS.test(document.title)) { document.title = document.title.replace(BRAND_WORDS, "PeakDigit"); } BRAND_WORDS.lastIndex = 0; } // The host app (Plane/Metabase) injects its own CSS-in-JS