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();
return (
<Box className={classes.innerHeader} style={{ whiteSpace: 'pre-wrap' }}>
<Box className={classes.innerHeader} whiteSpace="pre-wrap">
{children}
</Box>
);

Loading…
Cancel
Save