apps
apps copied to clipboard
[nextjs] An object literal cannot have multiple properties with the same name
Describe the bug The template creates an object called ComponentLocationSettings which has multiple entries with the same name
To Reproduce Steps to reproduce the behavior:
- Create a new app with
yarn create contentful-app my-first-next-app --yarn --example nextjs - Go to file
pages/index.tsx - See error as two entries have the name
locations.LOCATION_PAGE
Expected behavior Each entry should have a unique name