fix: infinite workspace loading (#1432)

This commit is contained in:
Himself65 authored and GitHub committed 2023-03-08 22:31:01 -06:00
1 parent 0f11b73d93
commit 1011088248
2 files changed
+11 -2

No files matched your search

@@ -36,6 +36,12 @@ export const Modal = (props: ModalProps) => {
...otherProps
} = props;
const [vertical, horizontal] = wrapperPosition;
// Fixme: This is a workaround for Mui bug
// Refs: https://github.com/mui/material-ui/issues/33748
if (!open) {
return null;
}
return (
<StyledModal
{...otherProps}