Skip to content

"Preview product detail page" is failing #1150

@levalleux-ludo

Description

@levalleux-ludo
Image Image
helpers.ts:120 Uncaught TypeError: Cannot read properties of undefined (reading 'toDate')
    at extractOfferTimestamps (dataValidator.ts:33:1)
    at usePreviewOffers (usePreviewOffers.ts:62:1)
    at AgreeToTermsAndSellerAgreement (AgreeToTermsAndSellerAgreement.tsx:30:1)
    at renderWithHooks (react-dom.development.js:16305:1)
    at mountIndeterminateComponent (react-dom.development.js:20074:1)
    at beginWork (react-dom.development.js:21587:1)
    at HTMLUnknownElement.callCallback (react-dom.development.js:4164:1)
    at HTMLUnknownElement.sentryWrapped (helpers.ts:98:1)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:4213:1)
    at invokeGuardedCallback (react-dom.development.js:4277:1)
    at beginWork$1 (react-dom.development.js:27451:1)
    at performUnitOfWork (react-dom.development.js:26557:1)
    at workLoopSync (react-dom.development.js:26466:1)
    at renderRootSync (react-dom.development.js:26434:1)
    at performConcurrentWorkOnRoot (react-dom.development.js:25738:1)
    at workLoop (scheduler.development.js:266:1)
    at flushWork (scheduler.development.js:239:1)
    at MessagePort.performWorkUntilDeadline (scheduler.development.js:533:1)
extractOfferTimestamps @ dataValidator.ts:33
usePreviewOffers @ usePreviewOffers.ts:62
AgreeToTermsAndSellerAgreement @ AgreeToTermsAndSellerAgreement.tsx:30
renderWithHooks @ react-dom.development.js:16305
mountIndeterminateComponent @ react-dom.development.js:20074
beginWork @ react-dom.development.js:21587
callCallback @ react-dom.development.js:4164
sentryWrapped @ helpers.ts:98
invokeGuardedCallbackDev @ react-dom.development.js:4213
invokeGuardedCallback @ react-dom.development.js:4277
beginWork$1 @ react-dom.development.js:27451
performUnitOfWork @ react-dom.development.js:26557
workLoopSync @ react-dom.development.js:26466
renderRootSync @ react-dom.development.js:26434
performConcurrentWorkOnRoot @ react-dom.development.js:25738
workLoop @ scheduler.development.js:266
flushWork @ scheduler.development.js:239
performWorkUntilDeadline @ scheduler.development.js:533
helpers.ts:120 Uncaught TypeError: Cannot read properties of undefined (reading 'toDate')
    at extractOfferTimestamps (dataValidator.ts:33:1)
    at usePreviewOffers (usePreviewOffers.ts:62:1)
    at AgreeToTermsAndSellerAgreement (AgreeToTermsAndSellerAgreement.tsx:30:1)
    at renderWithHooks (react-dom.development.js:16305:1)
    at mountIndeterminateComponent (react-dom.development.js:20074:1)
    at beginWork (react-dom.development.js:21587:1)
    at HTMLUnknownElement.callCallback (react-dom.development.js:4164:1)
    at HTMLUnknownElement.sentryWrapped (helpers.ts:98:1)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:4213:1)
    at invokeGuardedCallback (react-dom.development.js:4277:1)
    at beginWork$1 (react-dom.development.js:27451:1)
    at performUnitOfWork (react-dom.development.js:26557:1)
    at workLoopSync (react-dom.development.js:26466:1)
    at renderRootSync (react-dom.development.js:26434:1)
    at recoverFromConcurrentError (react-dom.development.js:25850:1)
    at performConcurrentWorkOnRoot (react-dom.development.js:25750:1)
    at workLoop (scheduler.development.js:266:1)
    at flushWork (scheduler.development.js:239:1)
    at MessagePort.performWorkUntilDeadline (scheduler.development.js:533:1)
extractOfferTimestamps @ dataValidator.ts:33
usePreviewOffers @ usePreviewOffers.ts:62
AgreeToTermsAndSellerAgreement @ AgreeToTermsAndSellerAgreement.tsx:30
renderWithHooks @ react-dom.development.js:16305
mountIndeterminateComponent @ react-dom.development.js:20074
beginWork @ react-dom.development.js:21587
callCallback @ react-dom.development.js:4164
sentryWrapped @ helpers.ts:98
invokeGuardedCallbackDev @ react-dom.development.js:4213
invokeGuardedCallback @ react-dom.development.js:4277
beginWork$1 @ react-dom.development.js:27451
performUnitOfWork @ react-dom.development.js:26557
workLoopSync @ react-dom.development.js:26466
renderRootSync @ react-dom.development.js:26434
recoverFromConcurrentError @ react-dom.development.js:25850
performConcurrentWorkOnRoot @ react-dom.development.js:25750
workLoop @ scheduler.development.js:266
flushWork @ scheduler.development.js:239
performWorkUntilDeadline @ scheduler.development.js:533
instrument.ts:124 The above error occurred in the <AgreeToTermsAndSellerAgreement> component:

    at AgreeToTermsAndSellerAgreement (http://localhost:3333/static/js/src_pages_create-product_CreateProduct_tsx.chunk.js:9963:3)
    at div
    at O (http://localhost:3333/static/js/bundle.js:622788:6)
    at http://localhost:3333/static/js/bundle.js:170235:3
    at div
    at O (http://localhost:3333/static/js/bundle.js:622788:6)
    at ConfirmProductDetails (http://localhost:3333/static/js/src_pages_create-product_CreateProduct_tsx.chunk.js:3729:3)
    at form
    at http://localhost:3333/static/js/bundle.js:443115:22
    at Formik (http://localhost:3333/static/js/bundle.js:442820:19)
    at div
    at O (http://localhost:3333/static/js/bundle.js:622788:6)
    at div
    at O (http://localhost:3333/static/js/bundle.js:622788:6)
    at CreateProductInner (http://localhost:3333/static/js/src_pages_create-product_CreateProduct_tsx.chunk.js:10603:3)
    at CreateProduct (http://localhost:3333/static/js/src_pages_create-product_CreateProduct_tsx.chunk.js:10248:110)
    at ErrorBoundary (http://localhost:3333/static/js/vendors-node_modules_phosphor-react_dist_icons_Prohibit_esm_js-node_modules_react-error-bound-459f95.chunk.js:183:5)
    at CreateProductWrapper (http://localhost:3333/static/js/src_pages_create-product_CreateProduct_tsx.chunk.js:10200:88)
    at div
    at O (http://localhost:3333/static/js/bundle.js:622788:6)
    at Layout (http://localhost:3333/static/js/bundle.js:20540:3)
    at http://localhost:3333/static/js/bundle.js:5321:3
    at DappView (http://localhost:3333/static/js/bundle.js:4885:12)
    at AppView (http://localhost:3333/static/js/bundle.js:4789:12)
    at div
    at O (http://localhost:3333/static/js/bundle.js:622788:6)
    at ModalProvider (http://localhost:3333/static/js/bundle.js:21968:3)
    at tt (http://localhost:3333/static/js/bundle.js:622705:56)
    at BosonThemeProvider (http://localhost:3333/static/js/bundle.js:175668:3)
    at ChatProvider (http://localhost:3333/static/js/bundle.js:86668:3)
    at tt (http://localhost:3333/static/js/bundle.js:622705:56)
    at App (http://localhost:3333/static/js/bundle.js:5182:3)
    at Suspense
    at SuspenseRoute (http://localhost:3333/static/js/bundle.js:89752:3)
    at RenderedRoute (http://localhost:3333/static/js/bundle.js:590616:5)
    at Routes (http://localhost:3333/static/js/bundle.js:591248:5)
    at SentryRoutes (http://localhost:3333/static/js/bundle.js:304637:22)
    at SentryProvider (http://localhost:3333/static/js/bundle.js:4698:3)
    at Router (http://localhost:3333/static/js/bundle.js:591186:15)
    at HashRouter (http://localhost:3333/static/js/bundle.js:589327:5)
    at AppRouter (http://localhost:3333/static/js/bundle.js:89570:88)
    at FiatLinkProvider (http://localhost:3333/static/js/bundle.js:16461:3)
    at ConvertionRateProvider (http://localhost:3333/static/js/bundle.js:6015:3)
    at ConvertionRateProviderWrapper (http://localhost:3333/static/js/bundle.js:5996:3)
    at CoreSDKProvider (http://localhost:3333/static/js/bundle.js:6556:3)
    at QueryClientProvider (http://localhost:3333/static/js/bundle.js:584080:21)
    at BlockNumberProvider (http://localhost:3333/static/js/bundle.js:78570:3)
    at ApolloProvider (http://localhost:3333/static/js/bundle.js:724031:19)
    at SyncCurrentConfigId (http://localhost:3333/static/js/bundle.js:5639:3)
    at UserProvider (http://localhost:3333/static/js/bundle.js:156027:3)
    at InnerMagicProvider (http://localhost:3333/static/js/bundle.js:155937:3)
    at MagicProvider (http://localhost:3333/static/js/bundle.js:21144:3)
    at http://localhost:3333/static/js/bundle.js:147948:3
    at QueryClientProvider (http://localhost:3333/static/js/bundle.js:584080:21)
    at QueryClientProviderCustom (http://localhost:3333/static/js/bundle.js:168451:6)
    at withQueryClientProviderCustom(Component)
    at InnerConfigProvider (http://localhost:3333/static/js/bundle.js:147964:3)
    at EnvironmentProvider (http://localhost:3333/static/js/bundle.js:151434:3)
    at ConfigProvider (http://localhost:3333/static/js/bundle.js:147930:3)
    at ConfigProvider (http://localhost:3333/static/js/bundle.js:5661:3)
    at Web3ReactProvider (http://localhost:3333/static/js/bundle.js:665723:3)
    at Web3Provider (http://localhost:3333/static/js/bundle.js:19967:3)
    at Provider (http://localhost:3333/static/js/bundle.js:584762:3)
    at ReduxProvider (http://localhost:3333/static/js/bundle.js:175793:3)
    at Provider (http://localhost:3333/static/js/bundle.js:584762:3)
    at StrictMode (http://localhost:3333/static/js/bundle.js:57597:3)

React will try to recreate this component tree from scratch using the error boundary you provided, ErrorBoundary.

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