Skip to content

Commit

Permalink
fix(scaffold): Use plain strings in NamesCell template (#11546)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe authored and Josh-Walker-GM committed Sep 16, 2024
1 parent 65c43f9 commit 27e950f
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ export const Loading = () => <div>Loading...</div>
export const Empty = () => {
return (
<div className="rw-text-center">
{'No contacts yet. '}
No contacts yet.{' '}
<Link to={routes.newContact()} className="rw-link">
{'Create one?'}
Create one?
</Link>
</div>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ export const Loading = () => <div>Loading...</div>
export const Empty = () => {
return (
<div className="rw-text-center">
{'No posts yet. '}
No posts yet.{' '}
<Link to={routes.newPost()} className="rw-link">
{'Create one?'}
Create one?
</Link>
</div>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,9 @@ export const Loading = () => <div>Loading...</div>
export const Empty = () => {
return (
<div className="rw-text-center">
{'No posts yet. '}
No posts yet.{' '}
<Link to={routes.newPost()} className="rw-link">
{'Create one?'}
Create one?
</Link>
</div>
)
Expand Down Expand Up @@ -1586,9 +1586,9 @@ export const Loading = () => <div>Loading...</div>
export const Empty = () => {
return (
<div className="rw-text-center">
{'No posts yet. '}
No posts yet.{' '}
<Link to={routes.newPost()} className="rw-link">
{'Create one?'}
Create one?
</Link>
</div>
)
Expand Down Expand Up @@ -3428,9 +3428,9 @@ export const Loading = () => <div>Loading...</div>
export const Empty = () => {
return (
<div className="rw-text-center">
{'No posts yet. '}
No posts yet.{' '}
<Link to={routes.newPost()} className="rw-link">
{'Create one?'}
Create one?
</Link>
</div>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1058,9 +1058,9 @@ export const Loading = () => <div>Loading...</div>
export const Empty = () => {
return (
<div className="rw-text-center">
{'No posts yet. '}
No posts yet.{' '}
<Link to={routes.newPost()} className="rw-link">
{'Create one?'}
Create one?
</Link>
</div>
)
Expand Down Expand Up @@ -2434,9 +2434,9 @@ export const Loading = () => <div>Loading...</div>
export const Empty = () => {
return (
<div className="rw-text-center">
{'No posts yet. '}
No posts yet.{' '}
<Link to={routes.newPost()} className="rw-link">
{'Create one?'}
Create one?
</Link>
</div>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ export const Loading = () => <div>Loading...</div>
export const Empty = () => {
return (
<div className="rw-text-center">
{'No ${pluralCamelName} yet. '}
No ${pluralCamelName} yet.{' '}
<Link
to={routes.${newRouteName}()}
className="rw-link"
>
{'Create one?'}
Create one?
</Link>
</div>
)
Expand Down

0 comments on commit 27e950f

Please sign in to comment.