We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
const FeedbackFileUpload = () => { return ( <FileUploaderDropzone> <FileUploaderIcon> <Publish /> </FileUploaderIcon> <FileUploaderTitle variant="subtitle2"> Drag and Drop Files </FileUploaderTitle> <FileUploaderBrowse variant="subtitle1">Browse Files</FileUploaderBrowse> </FileUploaderDropzone> ); };
I have this custom component that I insert into inputContent
<Dropzone // disabled={Boolean(response || loading)} key={dropzoneKey} onChangeStatus={handleChangeStatus} submitButtonDisabled={true} inputContent={<FeedbackFileUpload />} />
I get the error:
index.js:1 Warning: Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information. at label at O (http://localhost:3000/static/js/vendors~main.chunk.js:246033:15) at div
Any help?
The text was updated successfully, but these errors were encountered:
I starting receiving that warning as well.
Sorry, something went wrong.
Same problem. Just add a unique key to each "inputContent" element. That will make the warning disappear.
No branches or pull requests
I have this custom component that I insert into inputContent
I get the error:
index.js:1 Warning: Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.
at label
at O (http://localhost:3000/static/js/vendors~main.chunk.js:246033:15)
at div
Any help?
The text was updated successfully, but these errors were encountered: