You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught Error: Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
- A server/client branch `if (typeof window !== 'undefined')`.
- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.
- Date formatting in a user's locale which doesn't match the server.
- External changing data without sending a snapshot of it along with the HTML.
- Invalid HTML tag nesting.
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
https://react.dev/link/hydration-mismatch
...
<RedirectErrorBoundary router={{...}}>
<InnerLayoutRouter parallelRouterKey="children" url="/glury" tree={[...]} childNodes={Map} segmentPath={[...]} ...>
<Page>
<Box className="__variable...">
<Styled(div) as="div" ref={null} className="__variable..." theme={{...}} sx={{}}>
<Insertion>
<div className="__variable...">
<Menu>
<Grid component="nav" direction="row" zIndex={2} position="fixed" justifyContent="space-between" ...>
<MuiStack-root as="nav" ownerState={{...}} ref={null} className="MuiStack-root" ...>
<Insertion>
<nav className="MuiStack-r..." aria-label="Menú princ...">
<IconButton onClick={function onClick} style={{color:"#ed..."}}>
<MuiIconButton-root className="MuiIconBut..." centerRipple={true} focusRipple={true} ...>
<Insertion>
<ButtonBase className="MuiIconBut..." centerRipple={true} focusRipple={true} disabled={false} ...>
<MuiButtonBase-root as="button" className="MuiButtonB..." ownerState={{...}} ...>
<Insertion>
+ <button
+ className="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium mui-aixiz9..."
+ onBlur={function useEventCallback.useRef}
+ onClick={function onClick}
+ onContextMenu={function useEventCallback.useRef}
+ onFocus={function useEventCallback.useRef}
+ onKeyDown={function useEventCallback.useRef}
+ onKeyUp={function useEventCallback.useRef}
+ onMouseDown={function useEventCallback.useRef}
+ onMouseLeave={function useEventCallback.useRef}
+ onMouseUp={function useEventCallback.useRef}
+ onDragLeave={function useEventCallback.useRef}
+ onTouchEnd={function useEventCallback.useRef}
+ onTouchMove={function useEventCallback.useRef}
+ onTouchStart={function useEventCallback.useRef}
+ tabIndex={0}
+ type="button"
+ disabled={false}
+ style={{color:"#ededed"}}
+ ref={function useForkRef.useMemo}
+ >
- <ol className="MuiStack-root mui-1d9cypr-MuiStack-root">
...
...
Current behavior
No response
Expected behavior
No response
Context
No response
Your environment
No response
Search keywords: useMediaQuery, Nextjs
The text was updated successfully, but these errors were encountered:
Steps to reproduce
page.js
browser console log
Current behavior
No response
Expected behavior
No response
Context
No response
Your environment
No response
Search keywords: useMediaQuery, Nextjs
The text was updated successfully, but these errors were encountered: