decap-cms icon indicating copy to clipboard operation
decap-cms copied to clipboard

Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&a...

Open TbwaDjaz opened this issue 7 months ago • 0 comments

Describe the bug

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

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

CMS configuration

backend:
  name: git-gateway
  branch: master
media_folder: static/img
public_folder: /img
collections:
  - name: blog
    label: Blog
    folder: src/pages/blog
    create: true
    slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
    fields:
      - label: Template Key
        name: templateKey
        widget: hidden
        default: blog-post
      - label: Title
        name: title
        widget: string
      - label: Publish Date
        name: date
        widget: datetime
      - label: Hero image
        name: Image
        widget: image
      - label: Description
        name: description
        widget: text
      - label: Body
        name: body
        widget: markdown
      - label: Tags
        name: tags
        widget: list
      - label: author
        name: author
        widget: relation
        collection: authors
        search_fields:
          - title
        value_field: details
        display_fields:
          - title
        required: true
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - date
      - commit_author
      - description
    view_filters: []
    view_groups: []
  - name: pages
    label: Pages
    files:
      - file: src/pages/carriere.md
        label: Carriere
        name: carriere
        fields:
          - label: Template Key
            name: templateKey
            widget: hidden
            default: carriere-page
          - label: Title
            name: title
            widget: string
          - label: jobs
            name: jobs
            widget: list
            fields:
              - label: job title
                name: jobTitle
                widget: text
              - label: job description
                name: jobDescription
                widget: markdown
      - file: src/pages/index.md
        label: home Page
        name: index
        fields:
          - label: Template Key
            name: templateKey
            widget: hidden
            default: index-page
          - label: Title
            name: title
            widget: string
          - label: Image
            name: image
            widget: image
          - label: Heading
            name: heading
            widget: string
          - label: Subheading
            name: subheading
            widget: string
            required: false
      - file: src/pages/about/index.md
        label: About
        name: about
        fields:
          - label: Template Key
            name: templateKey
            widget: hidden
            default: about-page
          - label: Title
            name: title
            widget: string
          - label: Body
            name: body
            widget: markdown
    publish: true
    type: file_based_collection
    sortable_fields:
      - commit_date
      - commit_author
    view_filters: []
    view_groups: []
  - name: projets
    label: Projets
    create: true
    folder: src/pages/projects
    slug: "{{year}}-{{month}}-{{day}}_{{slug}}"
    fields:
      - label: Template Key
        name: templateKey
        widget: hidden
        default: projets-tbwa
      - label: Informations SEO (importantes)
        name: seo
        widget: object
        fields:
          - label: SEO title
            name: seo_title
            widget: string
          - label: Description SEO (max 140 caractères)
            name: seo_metta_desc
            widget: text
      - label: Titre
        name: title
        widget: string
      - label: Client
        name: client
        widget: string
      - label: Date
        name: date
        widget: date
   
...

TbwaDjaz avatar Jun 30 '24 09:06 TbwaDjaz