fix isWidthDown

This commit is contained in:
fbruc03
2023-01-02 12:21:18 +01:00
parent c463237bd7
commit bf9fe05845
7 changed files with 24 additions and 10 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ import Typography from "@mui/material/Typography";
import { faPen } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import * as Blockly from "blockly/core";
import { isWidthDown } from "@material-ui/core";
import { isWidthDown } from "../../helpers/handleBreakpoints";
// FIXME checkout https://mui.com/components/use-media-query/#migrating-from-withwidth
const withWidth = () => (WrappedComponent) => (props) => <WrappedComponent {...props} width="xs" />;