vacuumlabs / name-bazaar

A peer-to-peer marketplace for the exchange of names registered via the Ethereum Name Service
Eclipse Public License 1.0
0 stars 0 forks source link

Error when you click on My Offerings too fast after creating an offering #59

Open ladislavdubravsky opened 3 years ago

ladislavdubravsky commented 3 years ago

Time ago compares against future time for some reason, causing an assert error:

Assert failed: (<= (.getTime start) (.getTime end))
    at cljs_time$core$interval (core.cljs?rel=1613993457623:138)
    at district0x$ui$utils$time_ago (utils.cljs?rel=1613993459067:241)
    at Object.name_bazaar.ui.components.offering.general_info.offering_created_on_line_reagentRender [as reagentRender] (general_info.cljs?rel=1614077787828:57)
    at component.cljs?rel=1613993453720:98
    at reagent$impl$component$wrap_render (component.cljs?rel=1613993453720:102)
    at reagent$impl$component$do_render (component.cljs?rel=1613993453720:121)
    at re_frame_10x.cljs?rel=1613993477034:61
    at reagent$ratom$in_context (ratom.cljs?rel=1613993453599:37)
    at reagent$ratom$deref_capture (ratom.cljs?rel=1613993453599:43)
    at reagent$ratom$run_in_reaction (ratom.cljs?rel=1613993453599:504)
    at Object.name_bazaar.ui.components.offering.bottom_section.delete_offering_button_render [as render] (re_frame_10x.cljs?rel=1613993477034:61)
    at finishClassComponent (react-dom.inc.js:13771)
    at updateClassComponent (react-dom.inc.js:13733)
    at beginWork (react-dom.inc.js:14402)
    at performUnitOfWork (react-dom.inc.js:16441)
    at workLoop (react-dom.inc.js:16480)
    at renderRoot (react-dom.inc.js:16520)
    at performWorkOnRoot (react-dom.inc.js:17138)
    at performWork (react-dom.inc.js:17060)
    at performSyncWork (react-dom.inc.js:17032)
    at requestWork (react-dom.inc.js:16932)
    at scheduleWork$1 (react-dom.inc.js:16796)
    at Object.enqueueForceUpdate (react-dom.inc.js:11914)
    at Object.Component.forceUpdate (react.inc.js:542)
    at reagent$impl$batching$run_queue (batching.cljs?rel=1613993453419:39)
    at Object.flush_queues (batching.cljs?rel=1613993453419:86)
    at Object.run_queues (batching.cljs?rel=1613993453419:76)
    at batching.cljs?rel=1613993453419:63
    at re_frame_10x.cljs?rel=1613993477034:125