Skip to content

Commit

Permalink
fix: Minified react error because of DOM nesting (#4244)
Browse files Browse the repository at this point in the history
  • Loading branch information
usame-algan authored Sep 24, 2024
1 parent 8e6b2e8 commit 88a9549
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/components/welcome/MyAccounts/PaginatedSafeList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,16 @@ const PaginatedSafeList = ({ safes, title, action, noSafesMessage, onLinkClick }
)}
</>
) : (
<Typography variant="body2" color="text.secondary" textAlign="center" py={3} mx="auto" width={250}>
{safes ? noSafesMessage : 'Loading...'}
<Typography
component="div"
variant="body2"
color="text.secondary"
textAlign="center"
py={3}
mx="auto"
width={250}
>
{noSafesMessage}
</Typography>
)}
</Paper>
Expand Down

0 comments on commit 88a9549

Please sign in to comment.