Default log rocket on in Rome Production.

This commit is contained in:
Patrick Fic
2023-05-03 14:51:51 -07:00
parent 802e945829
commit a33c481dd5

View File

@@ -77,8 +77,9 @@ export function App({
if (currentUser.authorized && bodyshop) {
client.setAttribute("imexshopid", bodyshop.imexshopid);
LogRocket.init("rome-online/rome-online");
if (client.getTreatment("LogRocket_Tracking") === "on") {
LogRocket.init("gvfvfw/bodyshopapp");
LogRocket.init("rome-online/rome-online");
}
}
}, [bodyshop, client, currentUser.authorized]);