Skip to content

Commit

Permalink
(safety) added staging check
Browse files Browse the repository at this point in the history
  • Loading branch information
mdewey committed Mar 6, 2024
1 parent 7f7b365 commit a37d78d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/mhv/hooks/useDatadogRum.jsx
Expand Up @@ -13,7 +13,7 @@ const initializeDatadogRum = config => {
};

const setRumUser = user => {
if (user.loggedIn) {
if (user.loggedIn && environment.isStaging()) {
datadogRum.setUser({
id: user.accountUuid || 'no-account-uuid-found',
});
Expand Down

0 comments on commit a37d78d

Please sign in to comment.