diff --git a/src/index.tsx b/src/index.tsx index e02862f..9f7697b 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -18,6 +18,12 @@ if ( raygun("setVersion", process.env.REACT_APP_VERSION); } +raygun("withCustomData", function() { + return { + state: store.getState(), + }; +}); + function render() { ReactDOM.render(