refactor: use whiteSpace prop instead of style

main
Josue 4 years ago committed by Tsu-ba-me
parent 0c43b126c8
commit 9f59f54315
  1. 2
      striker-ui/components/PanelHeader.tsx

@ -30,7 +30,7 @@ const PanelHeader = ({ children }: Props): JSX.Element => {
const classes = useStyles(); const classes = useStyles();
return ( return (
<Box className={classes.innerHeader} style={{ whiteSpace: 'pre-wrap' }}> <Box className={classes.innerHeader} whiteSpace="pre-wrap">
{children} {children}
</Box> </Box>
); );

Loading…
Cancel
Save