Skip to content

Commit e42fd6b

Browse files
committed
use correct env var
1 parent 0726473 commit e42fd6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const App = <A extends Action = Action, S = unknown>({
5151
// configureFreshworksWidget("hide")
5252
// }, [])
5353

54-
if (process.env.NODE_ENV !== "development") {
54+
if (import.meta.env.PROD) {
5555
toggleOneTrustInfoDisplay()
5656
}
5757

0 commit comments

Comments
 (0)