Skip to content

Error: useLocation hook was used but a LocationContext.Provider was not found in the parent tree.... #7476

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
belugasolutions opened this issue May 22, 2025 · 0 comments

Comments

@belugasolutions
Copy link

Describe the bug

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

  • Netlify CMS version: [email protected]
  • Git provider: github
  • Browser version: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36

CMS configuration

backend:
  name: github
  repo: BelugaTech/kraken
  base_url: https://pho-to-chau.vercel.app
  auth_endpoint: api/auth
local_backend: false
media_folder: sites/pho-to-chau/static/assets
public_folder: /assets
collections:
  - name: pages
    label: Pages
    files:
      - file: sites/pho-to-chau/src/pages/index.md
        label: Home Page
        name: index
        fields:
          - label: Template
            name: template
            widget: hidden
            default: index
          - label: SEO
            name: seo
            widget: object
            fields:
              - label: SEO Title
                name: title
                widget: string
              - label: Meta Description
                name: description
                widget: string
                required: false
              - label: Meta Keywords
                name: keywords
                widget: string
                required: false
          - label: Header
            name: header
            widget: object
            fields:
              - label: Logo
                name: logo
                widget: image
          - label: Hero
            name: hero
            widget: object
            fields:
              - label: Title
                name: title
                widget: string
              - label: Subtitle
                name: subtitle
                widget: string
                required: false
              - label: Background
                name: background
                widget: image
          - label: Content
            name: content
            widget: list
            summary: "{{fields.header}}"
            fields:
              - label: Header
                name: header
                widget: string
                required: false
              - label: Markdown
                name: markdown
                widget: markdown
                required: false
              - label: Images
                name: images
                widget: list
                fields:
                  - label: Image
                    name: image
                    widget: image
          - label: Menu Files
            name: menuFiles
            widget: list
            summary: "{{fields.label}}"
            fields:
              - label: Label
                name: label
                widget: string
              - label: PDF
                name: pdf
                widget: file
                allow_multiple: false
          - label: Locations
            name: locations
            widget: list
            fields:
              - label: Name
                name: name
                widget: string
              - label: Address
                name: address
                widget: string
              - label: Pickup Menu URL
                name: pickupUrl
                widget: string
                required: false
              - label: Delivery Menu URL
                name: deliveryUrl
                widget: string
                required: false
              - label: Hours
                name: hours
                widget: markdown
                required: false
          - label: Footer
            name: footer
            widget: object
            fields:
              - label: Instagram
                name: instagram
                widget: string
                required: false
              - label: Facebook
                name: facebook
                widget: string
                required: false
              - label: Twitter
                name: twitter
                widget: string
                required: false
              - lab
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant