Skip to content

Instantly share code, notes, and snippets.

@dLobatog
Created December 5, 2018 16:55
Show Gist options
  • Select an option

  • Save dLobatog/902182487936435b7c6b559630c89dbb to your computer and use it in GitHub Desktop.

Select an option

Save dLobatog/902182487936435b7c6b559630c89dbb to your computer and use it in GitHub Desktop.
vendor.js:224521 The above error occurred in the <InventoryDetail> component:
in InventoryDetail (created by Connect(InventoryDetail))
in Connect(InventoryDetail) (created by RouterParams)
in RouterParams (created by Connect(RouterParams))
in Connect(RouterParams) (created by Route)
in Route (created by withRouter(Connect(RouterParams)))
in withRouter(Connect(RouterParams)) (created by Route)
in Route (created by Inventory)
in Switch (created by Inventory)
in Inventory (created by RouterParams)
in RouterParams (created by Connect(RouterParams))
in Connect(RouterParams) (created by Route)
in Route (created by withRouter(Connect(RouterParams)))
in withRouter(Connect(RouterParams)) (created by SystemsTable)
in SystemsTable (created by Query)
in div (created by GridItem)
in GridItem (created by Query)
in div (created by Grid)
in Grid (created by Query)
in Query (created by PolicyDetailsQuery)
in PolicyDetailsQuery (created by PolicyDetails)
in PolicyDetails
in RouterParams (created by Connect(RouterParams))
in Connect(RouterParams) (created by Route)
in Route (created by withRouter(Connect(RouterParams)))
in withRouter(Connect(RouterParams)) (created by AsyncComponent)
in AsyncComponent (created by Route)
in Route (created by Compliance)
in Switch (created by Compliance)
in div
in section
in TabLayout (created by ComplianceTabs)
in ComplianceTabs
in RouterParams (created by Connect(RouterParams))
in Connect(RouterParams) (created by Route)
in Route (created by withRouter(Connect(RouterParams)))
in withRouter(Connect(RouterParams)) (created by Compliance)
in section
in Main (created by Connect(Main))
in Connect(Main) (created by Compliance)
in Compliance
in RouterParams (created by Connect(RouterParams))
in Connect(RouterParams) (created by Route)
in Route (created by withRouter(Connect(RouterParams)))
in withRouter(Connect(RouterParams)) (created by AsyncComponent)
in AsyncComponent (created by InsightsRoute)
in InsightsRoute (created by Routes)
in Switch (created by Routes)
in Routes (created by App)
in App (created by Connect(App))
in Connect(App) (created by Route)
in Route (created by withRouter(Connect(App)))
in withRouter(Connect(App))
in ApolloProvider
in Router (created by BrowserRouter)
in BrowserRouter
in Provider
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
logCapturedError @ vendor.js:224521
vendor.js:227321 Uncaught TypeError: Cannot read property 'base' of undefined
at getEntities (Inventory.82eb0158.js:15128)
at loadEntity (Inventory.82eb0158.js:15260)
at Object.loadEntity (Inventory.82eb0158.js:14287)
at InventoryDetail.componentDidMount (Inventory.82eb0158.js:14239)
at commitLifeCycles (vendor.js:224656)
at commitAllLifeCycles (vendor.js:225870)
at HTMLUnknownElement.callCallback (vendor.js:210277)
at Object.invokeGuardedCallbackDev (vendor.js:210327)
at invokeGuardedCallback (vendor.js:210380)
at commitRoot (vendor.js:226040)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment