Skip to content
This repository was archived by the owner on May 22, 2023. It is now read-only.
This repository was archived by the owner on May 22, 2023. It is now read-only.

Join Verse not showing up inside nextjs application  #24

@Ashersam

Description

@Ashersam

build tool

Next.js

Usfm Editor version

0.8.0-SNAPSHOT.6

Reproduction repository

https://github.com/Ashersam/UsfmEditorNextJs/blob/main/pages/index.js

Test site

https://ashersam.github.io/UsfmEditorNextJs/

Issue Description

I see there's a joint verse feature for usfm-editor editor and works well in create-react boilerplate. But that's not happening in nextJs based application. Just getting the following prop warning on the console when we click on a verse number.

react_devtools_backend.js:2560 Warning: Failed prop type: The prop `icon` is marked as required in `JoinWithPreviousVerseButton`, but its value is `undefined`.
    at JoinWithPreviousVerseButton (http://localhost:3000/_next/static/chunks/pages/index.js?ts=1624422465897:8531:26)
    at VerseJoinUnjoinSubmenu (http://localhost:3000/_next/static/chunks/pages/index.js?ts=1624422465897:7757:5)
    at ul
react_devtools_backend.js:2560 Warning: Failed prop type: The prop `text` is marked as required in `JoinWithPreviousVerseButton`, but its value is `undefined`.
    at JoinWithPreviousVerseButton (http://localhost:3000/_next/static/chunks/pages/index.js?ts=1624422465897:8531:26)
    at VerseJoinUnjoinSubmenu (http://localhost:3000/_next/static/chunks/pages/index.js?ts=1624422465897:7757:5)
    at ul

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions