diff --git a/src/index.tsx b/src/index.tsx index 9f63295..c6c524e 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -11,6 +11,9 @@ import { Provider } from "react-redux"; raygun("apiKey", "mtj24r3YzPoYyCG8cVArA"); raygun("enableCrashReporting", true); +if (typeof process.env.REACT_APP_VERSION === "string" && process.env.REACT_APP_VERSION.length > 0) { + raygun("setVersion", process.env.REACT_APP_VERSION); +} function render() { ReactDOM.render(