File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,12 @@ function AppContent() {
112112 const [ mobileOpen , setMobileOpen ] = useState ( false ) ;
113113 const [ providerWizardOpen , setProviderWizardOpen ] = useState ( false ) ;
114114
115+ // Hide hydration banner once React mounts successfully
116+ useEffect ( ( ) => {
117+ const el = document . getElementById ( 'hydration-banner' ) ;
118+ if ( el ) el . style . display = 'none' ;
119+ } , [ ] ) ;
120+
115121 const handleLogin = async ( key : string ) => {
116122 try {
117123 const testClient = new AdminAPIClient ( key ) ;
@@ -876,10 +882,4 @@ function App() {
876882}
877883
878884export default App ;
879- // Hide hydration banner on successful React mount
880- useEffect ( ( ) => {
881- const el = document . getElementById ( 'hydration-banner' ) ;
882- if ( el ) {
883- el . style . display = 'none' ;
884- }
885- } , [ ] ) ;
885+
You can’t perform that action at this time.
0 commit comments