Get parts on profile to update when user saves a new part

This commit is contained in:
Kurt Hutten
2020-12-30 12:45:47 +11:00
parent fff0956746
commit 62b26b969e
7 changed files with 55 additions and 33 deletions

View File

@@ -24,14 +24,7 @@ export const QUERY = gql`
export const Loading = () => <div>Loading...</div>
export const Empty = () => {
return (
<div className="rw-text-center">
{'No parts yet. '}
<Link to={routes.draftPart()} className="rw-link">
{'Create one?'}
</Link>
</div>
)
return <div className="rw-text-center">No parts yet.</div>
}
export const Success = ({