Skip to content

Commit d5692f3

Browse files
Andrew Farriesroboquat
authored andcommitted
Remove console.log statement
1 parent 28f8c4f commit d5692f3

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

components/dashboard/src/workspaces/Workspaces.tsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import { User } from "@gitpod/gitpod-protocol";
1818
import { useLocation } from "react-router";
1919
import { StartWorkspaceModalContext, StartWorkspaceModalKeyBinding } from "./start-workspace-modal-context";
2020
import SelectIDEModal from "../settings/SelectIDEModal";
21-
import { getExperimentsClient } from "../experiments/client";
2221

2322
export interface WorkspacesProps {}
2423

@@ -37,7 +36,6 @@ export default function () {
3736
const [inactiveWorkspaces, setInactiveWorkspaces] = useState<WorkspaceInfo[]>([]);
3837
const [workspaceModel, setWorkspaceModel] = useState<WorkspaceModel>();
3938
const { setIsStartWorkspaceModalVisible } = useContext(StartWorkspaceModalContext);
40-
const [isExperimentEnabled, setExperiment] = useState<boolean>(false);
4139

4240
useEffect(() => {
4341
(async () => {
@@ -47,17 +45,6 @@ export default function () {
4745
}, [teams, location]);
4846

4947
const isOnboardingUser = user && User.isOnboardingUser(user);
50-
useEffect(() => {
51-
(async () => {
52-
if (teams && teams.length > 0) {
53-
const isEnabled = await getExperimentsClient().getValueAsync("isMyFirstFeatureEnabled", false, {
54-
teamName: teams[0]?.name,
55-
});
56-
setExperiment(isEnabled);
57-
}
58-
})();
59-
}, [teams]);
60-
console.log("Is experiment enabled? ", isExperimentEnabled);
6148

6249
return (
6350
<>

0 commit comments

Comments
 (0)