Fix warnings about html p element caused by typography (#141)

This commit is contained in:
Jonathan Zernik 2020-07-25 17:32:12 -07:00 committed by GitHub
parent 5ab01107e4
commit ad3d7bbb8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -190,9 +190,7 @@ export default function Profiles() {
{...other}
>
{value === index && (
<Box p={3}>
<Typography>{children}</Typography>
</Box>
<div>{children}</div>
)}
</div>
);