fix build

This commit is contained in:
Yana
2025-04-09 22:33:34 +03:00
parent 46ebd84b02
commit f4e9abcd22
@@ -27,12 +27,12 @@ type SimpleModalPropsOpen = {
export type SimpleModalProps = SimpleModalPropsClosed | SimpleModalPropsOpen;
const SimpleModal = (props: SimpleModalProps) => {
const theme = useTheme();
if (!props.open) {
return null;
}
const { title, children, Actions, onClose } = props;
const theme = useTheme();
return (
<Dialog open maxWidth="sm" fullWidth onClose={onClose}>