Application fails to load on first run. (Cannot convert undefined or null to object)

49 Views Asked by At

Everything was working fine before I added redux-offline in my store.

export const store = createStore(
    persistedReducer,
    composeWithDevTools(middleware, offline(offlineConfig))
);

This is an error when I load the application for the first time. If I refresh again the error goes away.

enter image description here

0

There are 0 best solutions below