Skip to content

Commit

Permalink
REVERT LATER showcase in /components/dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Jun 30, 2021
1 parent 753523e commit fae45ef
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/src/pages/components/dialogs/SimpleDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ function SimpleDialog(props) {
onClose(value);
};

// FIXME: remove before merging
if (typeof window !== 'undefined') {
throw new Error('test');
}

return (
<Dialog onClose={handleClose} open={open}>
<DialogTitle>Set backup account</DialogTitle>
Expand Down
5 changes: 5 additions & 0 deletions docs/src/pages/components/dialogs/SimpleDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ function SimpleDialog(props: SimpleDialogProps) {
onClose(value);
};

// FIXME: remove before merging
if (typeof window !== 'undefined') {
throw new Error('test');
}

return (
<Dialog onClose={handleClose} open={open}>
<DialogTitle>Set backup account</DialogTitle>
Expand Down

0 comments on commit fae45ef

Please sign in to comment.