Skip to content
Snippets Groups Projects
Commit 87966517 authored by chrisgarrity's avatar chrisgarrity
Browse files

provide default mapDispatchToProps

parent 86c51bc1
Branches
Tags
No related merge requests found
......@@ -77,4 +77,7 @@ const mapStateToProps = state => ({
isRtl: state.locales.isRtl
});
export default connect(mapStateToProps)(ErrorBoundary);
// no-op function to prevent dispatch prop being passed to component
const mapDispatchToProps = () => {};
export default connect(mapStateToProps, mapDispatchToProps)(ErrorBoundary);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment