Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const configureStore = () => {
const store = init({
models,
redux: {
middlewares: [],
},
plugins: [persistPlugin, loadingPlugin],
});
const persistor = getPersistor();
const { dispatch } = store;
return { persistor, store, dispatch };
};
render() {
const { children } = this.props;
if (!PERSIST_DATA) {
return {children};
}
return (
{children}
);
}
}
render() {
return (
{this.props.children}
);
}
}
render() {
return (
{this.props.children}
);
}
}
render() {
return (
{this.props.children}
);
}
}
render() {
const persistor = getPersistor();
return (
{this.props.cwd ? (
) : (
)}
);
}
}
render() {
const { children } = this.props;
if (!PERSIST_DATA) {
return {children};
}
return (
{children}
);
}
}