Direct user to draft when selecting "create one"

This commit is contained in:
Kurt Hutten
2020-12-29 19:54:55 +11:00
parent 8bc2f24a69
commit 37bdca091a
2 changed files with 2 additions and 2 deletions

View File

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

View File

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