array of LocalBusinessJsonLd Schema using next-seo

0 votes

 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 
Feb 13 in Others by Kichu
• 19,040 points
332 views

1 answer to this question.

0 votes
specify the unique keyoverride properties if you page needs multiple instances for a JSON-LD

<ExampleJsonLd keyOverride="my-new-key" />
take this as an example

: next-seo - Handling multiple instances use this for more info
answered Feb 14 by narikkadan
• 37,660 points

Related Questions In Others

0 votes
1 answer

Reducing sequences in an array of strings

I've written a C# app to solves ...READ MORE

answered Nov 2, 2018 in Others by DataKing99
• 8,240 points
313 views
0 votes
1 answer
0 votes
1 answer

Can you please let m know what are the timings of next batch of AWS

Hey Anil,  As you can see from the ...READ MORE

answered Mar 26, 2020 in Others by Vardhan
• 13,200 points
445 views
0 votes
1 answer

React Server Components Performance on SEO

for rendering into html  you have to ...READ MORE

answered Feb 14 in Others by narikkadan
• 37,660 points
185 views
0 votes
1 answer

React Server Components Performance on SEO

const html = readFileSync(       path.resolve(__dirname, '../build/index.html'),       'utf8'     );     // Note: this ...READ MORE

answered Feb 25 in Others by narikkadan
• 37,660 points
211 views
0 votes
0 answers

Can't we SEO Mern Stack Applications and reactjs Applications?

I created a MERN Stack Application which ...READ MORE

Mar 13 in Digital Marketing by Kichu
• 19,040 points
217 views
0 votes
1 answer

array of LocalBusinessJsonLd Schema using next-seo

" If your page requires multiple instances of ...READ MORE

answered Feb 24 in Others by narikkadan
• 37,660 points
110 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP