fix isWidthDown
This commit is contained in:
@@ -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" />;
|
||||
|
||||
Reference in New Issue
Block a user