CFE-1 create project from the tamplate project and config project
This commit is contained in:
8
src/core/components/NoSsrHandler.jsx
Normal file
8
src/core/components/NoSsrHandler.jsx
Normal file
@@ -0,0 +1,8 @@
|
||||
import {NoSsr} from "@mui/material";
|
||||
|
||||
const NoSsrHandler = ({isBot, children}) => {
|
||||
if (isBot) return children;
|
||||
return <NoSsr>{children}</NoSsr>;
|
||||
};
|
||||
|
||||
export default NoSsrHandler;
|
||||
Reference in New Issue
Block a user