diff options
Diffstat (limited to 'src/lib/Window/Window.tsx')
-rw-r--r-- | src/lib/Window/Window.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/Window/Window.tsx b/src/lib/Window/Window.tsx index 6821593..beaa672 100644 --- a/src/lib/Window/Window.tsx +++ b/src/lib/Window/Window.tsx @@ -47,12 +47,13 @@ const Window: React.FC<PropTypes> = ({ type, name, children }) => { size={size} position={position} > - {name && + {name + && ( <div> <Typography variant="h5" className={classes.header}>{name}</Typography> <Divider /> </div> - } + )} {children} </WindowSurface> ); |