Added empty state on user profiles when no documents edited
This commit is contained in:
@@ -61,6 +61,9 @@ class UserProfile extends React.Component<Props> {
|
||||
documents={documents.createdByUser(user.id)}
|
||||
fetch={documents.fetchOwned}
|
||||
options={{ user: user.id }}
|
||||
empty={
|
||||
<HelpText>{user.name} hasn’t updated any documents yet.</HelpText>
|
||||
}
|
||||
showCollection
|
||||
/>
|
||||
</Flex>
|
||||
|
||||
Reference in New Issue
Block a user