Skip to content

Commit

Permalink
Update trippy-trails-template.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
maltenuhn committed May 2, 2024
1 parent 2d7ea9a commit ac75a2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/routes/trippy-trails-template.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { useLoaderData } from '@remix-run/react'
import { defer, json } from '@shopify/remix-oxygen'
import { Column, PageTitle } from '../components/Components'

export function processTestimonials(testimonial) {
return reviews.nodes.map((testimonial) => ({
export function processTestimonials(testimonials) {
return testimonials.nodes.map((testimonial) => ({
id: testimonial.id,
rating: JSON.parse(testimonial.rating.value).value,
summary: testimonial.summary.value,
Expand Down

0 comments on commit ac75a2b

Please sign in to comment.