Skip to content

Commit

Permalink
Merge pull request #616 from GabrielGavrilov/master
Browse files Browse the repository at this point in the history
Fix inconsistent page headings
  • Loading branch information
treoden authored Sep 8, 2024
2 parents 6e14d3e + 40c5f16 commit 30438d7
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
Empty file modified packages/create-evershop-app/index.js
100644 → 100755
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default function AttributeEditPageHeading({ backUrl, attribute }) {
heading={
attribute
? `Editing ${attribute.attributeName}`
: 'Create A New Attribute'
: 'Create a new attribute'
}
/>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function CategoryEditPageHeading({ backUrl, category }) {
return (
<PageHeading
backUrl={backUrl}
heading={category ? `Editing ${category.name}` : 'Create A New category'}
heading={category ? `Editing ${category.name}` : 'Create a new category'}
/>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default function CollectionEditPageHeading({ backUrl, collection }) {
<div className='w-2/3' style={{margin: '0 auto'}}>
<PageHeading
backUrl={backUrl}
heading={collection ? `Editing ${collection.name}` : 'Create A New Collection'}
heading={collection ? `Editing ${collection.name}` : 'Create a new collection'}
/>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function ProductEditPageHeading({ backUrl, product }) {
return (
<PageHeading
backUrl={backUrl}
heading={product ? `Editing ${product.name}` : 'Create A New Product'}
heading={product ? `Editing ${product.name}` : 'Create a new product'}
/>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function PageEditPageHeading({ backUrl, page }) {
return (
<PageHeading
backUrl={backUrl}
heading={page ? `Editing ${page.name}` : 'Create A New Page'}
heading={page ? `Editing ${page.name}` : 'Create a new page'}
/>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function WidgetEditPageHeading({ backUrl, widget }) {
return (
<PageHeading
backUrl={backUrl}
heading={widget ? `Editing widget ${widget.name}` : 'Create A New Widget'}
heading={widget ? `Editing widget ${widget.name}` : 'Create a new widget'}
/>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function CouponEditPageHeading({ backUrl, coupon }) {
return (
<PageHeading
backUrl={backUrl}
heading={coupon ? `Editing ${coupon.coupon}` : 'Create A New Coupon'}
heading={coupon ? `Editing ${coupon.coupon}` : 'Create a new coupon'}
/>
);
}
Expand Down

0 comments on commit 30438d7

Please sign in to comment.