You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 6, 2019. It is now read-only.
Warning: React.createElement: typeisinvalid--expectedastring(forbuilt-incomponents)oraclass/function(forcompositecomponents)but got: undefined.Youlikelyforgottoexportyourcomponentfromthefileit's defined in, or you might have mixed up default and named imports.
CheckyourcodeatLeafletBingLayer.js:11.inLeafletBingLayer(atMapContainer.js:224)indiv(createdbyMap)inMap(createdbyContext.Consumer)inStyledComponent(createdbyStyled(Map))inStyled(Map)(atMapContainer.js:205)inMapContainer(atMapWrapper.js:680)insection(createdbyContext.Consumer)inStyledComponent(createdbystyled.section)instyled.section(atMapWrapper.js:670)inMapWrapper(atMapToolPage.js:14)inMapToolPage(createdbyNamespacesConsumerComponent)inNamespacesConsumerComponent(createdbyWithMergedOptions)inWithMergedOptions(createdbyContext.Consumer)inWithMergedOptions(NamespacesConsumerComponent)(createdbyLoadNamespace)inLoadNamespace(createdbyWithMergedOptions)inWithMergedOptions(createdbyContext.Consumer)inLoadNamespace(MapToolPage)(createdbyRoute)inRoute(atMainSection.js:24)inSwitch(atMainSection.js:18)insection(atMainSection.js:17)inMainSection(atApp.js:35)indiv(atApp.js:34)inScrollToTop(createdbyRoute)inRoute(createdbywithRouter(ScrollToTop))inwithRouter(ScrollToTop)(atApp.js:29)inRouter(createdbyHashRouter)inHashRouter(atApp.js:27)indiv(atApp.js:19)inApp(createdbyNamespacesConsumerComponent)inNamespacesConsumerComponent(createdbyWithMergedOptions)inWithMergedOptions(createdbyContext.Consumer)inWithMergedOptions(NamespacesConsumerComponent)(createdbyLoadNamespace)inLoadNamespace(createdbyWithMergedOptions)inWithMergedOptions(createdbyContext.Consumer)inLoadNamespace(App)(atsrc/index.js:6)
Error: Elementtypeisinvalid: expectedastring(forbuilt-incomponents)oraclass/function(forcompositecomponents)butgot: undefined.Youlikelyforgottoexportyourcomponentfromthefileit's defined in, or you might have mixed up default and named imports.
Hi,
I'm trying to integrate a react-leaflet-bing layer in my react-leaflet application with:
This is my react component:
but I get the following errors and a blank page: