Skip to content

Commit 9fa34cd

Browse files
JanKoehnleinroboquat
authored andcommitted
[dashboard] enable UI experiments only for Gitpod SaaS
1 parent f0df509 commit 9fa34cd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

components/dashboard/src/App.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,10 @@ function App() {
170170

171171
// listen and notify Segment of client-side path updates
172172
useEffect(() => {
173-
// Choose which experiments to run for this session/user
174-
Experiment.set(Experiment.seed(true));
173+
if (isGitpodIo()) {
174+
// Choose which experiments to run for this session/user
175+
Experiment.set(Experiment.seed(true));
176+
}
175177
})
176178

177179
useEffect(() => {

0 commit comments

Comments
 (0)