Skip to content

Commit

Permalink
remove default text from empty state component
Browse files Browse the repository at this point in the history
  • Loading branch information
Southclaws committed Dec 26, 2023
1 parent 614e112 commit 2dd1ae9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/components/directory/links/LinkRef.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export function LinkRef(props: LinkSchema) {
/>
) : (
<VStack justify="center" w="full" h="full">
<Empty>no image</Empty>
<Empty />
</VStack>
)}
</Box>
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/feed/common/PostRef/Empty.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function Empty({ children }: PropsWithChildren) {
<HStack alignItems="center">
<CubeTransparentIcon className={css({ width: "6", color: "bg.muted" })} />
<styled.p fontStyle="italic" color="gray.500">
{children ?? "no posts"}
{children}
</styled.p>
</HStack>
);
Expand Down

2 comments on commit 2dd1ae9

@vercel
Copy link

@vercel vercel bot commented on 2dd1ae9 Dec 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 2dd1ae9 Dec 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.