trying to add multiple local business schema in my next js application, I am using next-seo package for this
import { LocalBusinessJsonLd } from 'next-seo'
{locations.map((location) => (
<LocalBusinessJsonLd
type="Store"
name={location.node.name}
description={location.node.description}
telephone={location.node.phone}
address={{
streetAddress: `${location.node.street}`,
addressLocality: `${location.node.city}`,
postalCode: `${location.node.postalCode}`,
addressCountry: `${location.node.countryIso}`,
}}
/>
))}
its not showing array of schema