Skip to content

Commit

Permalink
Merge pull request #69 from Nosto/components-group
Browse files Browse the repository at this point in the history
Shorten components group
  • Loading branch information
timowestnosto authored Dec 1, 2023
2 parents 56351bf + ef1c747 commit 21ea619
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/components/Nosto404.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { useNostoApi } from "../utils/hooks"
* </div>
* ```
*
* @group Personalisation Components
* @group Components
*/
export default function Nosto404(props: { placements?: string[] }) {
const { recommendationComponent, useRenderCampaigns } = useNostoContext()
Expand Down
2 changes: 1 addition & 1 deletion src/components/NostoCategory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { useNostoApi } from "../utils/hooks"
* If the category being viewed is `Mens >> Jackets`, you must provide the name as `/Mens/Jackets`.
* You must ensure that the category path provided here matches that of the categories tagged in your products.
*
* @group Personalisation Components
* @group Components
*/
export default function NostoCategory(props: { category: string; placements?: string[] }) {
const { category, placements } = props
Expand Down
2 changes: 1 addition & 1 deletion src/components/NostoCheckout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { useNostoApi } from "../utils/hooks"
* </div>
* ```
*
* @group Personalisation Components
* @group Components
*/

export default function NostoCheckout(props: { placements?: string[] }) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/NostoHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { useNostoApi } from "../utils/hooks"
* </div>
* ```
*
* @group Personalisation Components
* @group Components
*/
export default function NostoHome(props: { placements?: string[] }) {
const { recommendationComponent, useRenderCampaigns } = useNostoContext()
Expand Down
2 changes: 1 addition & 1 deletion src/components/NostoOrder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { useNostoApi } from "../utils/hooks"
* </div>
* ```
*
* @group Personalisation Components
* @group Components
*/
export default function NostoOrder(props: {
order: { purchase: Purchase }
Expand Down
2 changes: 1 addition & 1 deletion src/components/NostoOther.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { useNostoApi } from "../utils/hooks"
* </div>;
* ```
*
* @group Personalisation Components
* @group Components
*/
export default function NostoOther(props: { placements?: string[] }) {
const { recommendationComponent, useRenderCampaigns } = useNostoContext()
Expand Down
2 changes: 1 addition & 1 deletion src/components/NostoPlacement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import React from "react"
* <NostoPlacement id="frontpage-nosto-1" />
* ```
*
* @group Personalisation Components
* @group Components
*/
export default function NostoPlacement(props: { id: string; pageType?: string }) {
const { id, pageType } = props
Expand Down
2 changes: 1 addition & 1 deletion src/components/NostoProduct.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { useNostoApi } from "../utils/hooks"
* </div>
* ```
*
* @group Personalisation Components
* @group Components
*/
export default function NostoProduct(props: {
product: string
Expand Down
2 changes: 1 addition & 1 deletion src/components/NostoSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { useNostoApi } from "../utils/hooks"
* A query for `black shoes` must be provided as-is and not as `black+shoes`.
* Doing so will lead to invalid results.
*
* @group Personalisation Components
* @group Components
*/
export default function NostoSearch(props: { query: string; placements?: string[] }) {
const { query, placements } = props
Expand Down

0 comments on commit 21ea619

Please sign in to comment.