Skip to content

🤔 [ISSUE] - Frontend - React Unrecognized Props editText and isSingleton on DOM Elements #742

@medchedli

Description

@medchedli

Description

We are currently seeing the following console warnings in the Hexabot Frontend app when you open a dialog :

React does not recognize the `editText` prop on a DOM element. 
If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `edittext` instead. 
If you accidentally passed it from a parent component, remove it from the DOM element
React does not recognize the `isSingleton` prop on a DOM element. 
If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `issingleton` instead. 
If you accidentally passed it from a parent component, remove it from the DOM element.

These warnings indicate that we are passing React props named editText and isSingleton to standard DOM elements within our React components. React only recognizes a specific set of standard HTML attributes on DOM elements.

Reproduction steps

1. Go to 'Visual editor'
2. Add a new block to the workspace and double-click on it to edit it
3. Open the browser console 
4. See error

Metadata

Metadata

Labels

QuickWinbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions