Skip to content

Commit

Permalink
fix: Changed the positioning of error message
Browse files Browse the repository at this point in the history
  • Loading branch information
miguel-merlin committed Mar 28, 2024
1 parent cad423e commit 0b39b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ function HomePage (): JSX.Element {
<HStack height="100vh" spacing="0">
<Sidebar />
<Container>
{error && <Text color="red.500">{error}</Text>}
{isLoading ? <Center> <Spinner size="xl"/> </Center> : <TableDashboard members={members} />}
{error && <Text color="red.500">{error}</Text>}
</Container>
</HStack>
)
Expand Down

0 comments on commit 0b39b03

Please sign in to comment.