TypeError: Cannot read property 'calendars' of null in Connect(Options) (at Masthead/index.js:130) in div (at Masthead/index.js:72) in div (at Masthead/index.js:71) in Masthead (created by Connect(Masthead)) in Connect(Masthead) (at DashboardLayout.js:10) in div (at DashboardLayout.js:9) in DashboardLayout (created by Connect(DashboardLayout)) in Connect(DashboardLayout) (at DashboardNonPackager.js:8) in DashboardNonPackager (created by Connect(DashboardNonPackager)) in Connect(DashboardNonPackager) (at Dashboard/index.js:84) in Dashboard (created by Connect(Dashboard)) in Connect(Dashboard) (at App.js:32) in Route (at App.js:31) in Switch (at App.js:27) in Router (created by BrowserRouter) in BrowserRouter (at App.js:26) in App (created by Connect(App)) in Connect(App) (at src/index.js:30) in Provider (at src/index.js:29) in StrictMode (at src/index.js:28)
Let's have following response from backend:
frontend fails with: