a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.
at div
at div
at on (http://localhost:3000/static/js/14.chunk.js:6214:17)
at dn (http://localhost:3000/static/js/14.chunk.js:6447:17)
at div
at div
at div
at form
at http://localhost:3000/static/js/0.chunk.js:1461:22
at Formik (http://localhost:3000/static/js/0.chunk.js:1129:19)
at main
at div
at SafeHouse (http://localhost:3000/static/js/11.chunk.js:230:84)
at Auth (http://localhost:3000/static/js/13.chunk.js:138:3)
at Suspense
at Routes (http://localhost:3000/static/js/vendors~main.chunk.js:38848:5)
at Router (http://localhost:3000/static/js/vendors~main.chunk.js:38781:15)
at BrowserRouter (http://localhost:3000/static/js/vendors~main.chunk.js:38268:5)
at App
at Provider (http://localhost:3000/static/js/vendors~main.chunk.js:35442:20)
console.<computed> @ index.js:1
overrideMethod @ react_devtools_backend.js:2540
printWarning @ react-dom.development.js:67
error @ react-dom.development.js:43
warnForMissingKey @ react-dom.development.js:13135
warnOnInvalidKey @ react-dom.development.js:13602
reconcileChildrenArray @ react-dom.development.js:13651
reconcileChildFibers @ react-dom.development.js:14125
reconcileChildren @ react-dom.development.js:16990
updateHostComponent @ react-dom.development.js:17632
beginWork @ react-dom.development.js:19080
beginWork$1 @ react-dom.development.js:23940
performUnitOfWork @ react-dom.development.js:22776
workLoopSync @ react-dom.development.js:22707
renderRootSync @ react-dom.development.js:22670
performSyncWorkOnRoot @ react-dom.development.js:22293
(анонимная) @ react-dom.development.js:11327
unstable_runWithPriority @ scheduler.development.js:468
runWithPriority$1 @ react-dom.development.js:11276
flushSyncCallbackQueueImpl @ react-dom.development.js:11322
workLoop @ scheduler.development.js:417
flushWork @ scheduler.development.js:390
performWorkUntilDeadline @ scheduler.development.js:157
как исправить?
Отдайте key props
<Picker style={{ color: "white", width: "45px", fontFamily: "SF Pro Text", fontStyle: "normal", fontWeight: "600", fontSize: "17px", lineHeight: "22px", }} scrollerBackground="none" height={126} iconAdd={<div></div>} iconMinus={<div></div>} initCount={0} minCount={0} maxCount={31} preloadCount={8} renderMask={Mask => <Mask className={s.dateMask}><p className={s.timePicker__days}>sec</p></Mask>} onChange={number => setFieldValue('dateSeconds', number)} />
Обсуждают сегодня