Skip to content

Commit

Permalink
Fix: swap to Center
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderleegs committed Oct 18, 2022
1 parent 08e7ea4 commit ed8ac46
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import {
Stack,
UseDisclosureReturn,
Text,
Flex,
Center,
Divider,
HStack,
useDisclosure,
Skeleton,
} from "@chakra-ui/react"
import { IconButton } from "@opengovsg/design-system-react"
import { PropsWithChildren, useEffect } from "react"
import { PropsWithChildren } from "react"
import { BiCommentDetail } from "react-icons/bi"

import {
Expand Down Expand Up @@ -141,14 +141,14 @@ export const CommentsDrawer = ({ siteName, requestId }: CommentProps) => {
</CommentItem>
))
) : (
<Flex
<Center
flex={1}
h="100%"
justifyContent="center"
alignItems="center"
>
<EmptyChatImage />
</Flex>
</Center>
)}
</Skeleton>
<Divider borderColor="border.divider.alt" />
Expand Down

0 comments on commit ed8ac46

Please sign in to comment.