Skip to content

Commit

Permalink
Update conditional in OrganizationList.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ameliav committed Feb 29, 2024
1 parent 8c955d1 commit 1213b87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const OrganizationList: React.FC<{
style={{ margin: '0 auto', marginTop: '1rem', maxWidth: '1000px' }}
></Grid>
<Box sx={{ backgroundColor: 'white' }}>
{organizations.length === 0 ? (
{organizations?.length === 0 ? (
<Alert severity="warning">No organizations found.</Alert>
) : (
<DataGrid
Expand Down

0 comments on commit 1213b87

Please sign in to comment.