Disable product fruits in production.
This commit is contained in:
@@ -27,6 +27,8 @@ import "./App.styles.scss";
|
||||
import handleBeta from "../utils/betaHandler";
|
||||
import Eula from "../components/eula/eula.component";
|
||||
import InstanceRenderMgr from "../utils/instanceRenderMgr";
|
||||
import { ProductFruits } from 'react-product-fruits';
|
||||
|
||||
const ResetPassword = lazy(() =>
|
||||
import("../pages/reset-password/reset-password.component")
|
||||
);
|
||||
@@ -149,6 +151,7 @@ export function App({
|
||||
|
||||
// Any route that is not assigned and matched will default to the Landing Page component
|
||||
return (
|
||||
|
||||
<Suspense
|
||||
fallback={
|
||||
<LoadingSpinner
|
||||
@@ -159,7 +162,13 @@ export function App({
|
||||
})}
|
||||
/>
|
||||
}
|
||||
>
|
||||
>
|
||||
<ProductFruits //workspaceCode="aoJoEifvezYI0Z0P"
|
||||
language="en" user={{
|
||||
email: currentUser.email,
|
||||
username: currentUser.email,
|
||||
}} />
|
||||
|
||||
<Routes>
|
||||
<Route
|
||||
path="*"
|
||||
|
||||
Reference in New Issue
Block a user