Skip to content

Commit

Permalink
feat: ✨ tweak empty state title
Browse files Browse the repository at this point in the history
  • Loading branch information
ed-software committed Nov 5, 2022
1 parent a8ca1c8 commit c0fc469
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ui/empty-state.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const color = '#6B7280'
/**
* Component to display during the absence of content. Takes an optional title and description.
*/
export function EmptyState({ title = 'Nothing here!', description }: EmptyStateProps) {
export function EmptyState({ title = 'Nothing here', description }: EmptyStateProps) {
return (
<View
style={{
Expand Down
2 changes: 1 addition & 1 deletion src/ui/lazy-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export function LazyList<
<Spinner />
</View>
) : (
<EmptyState title='Nothing here!' description={emptyMessage} />
<EmptyState description={emptyMessage} />
)}
</View>
}
Expand Down

0 comments on commit c0fc469

Please sign in to comment.