Skip to content

Commit

Permalink
Remove defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
Furisto authored and roboquat committed Jul 6, 2022
1 parent 9fb6f93 commit f157a02
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions components/dashboard/src/settings/Preferences.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import { getExperimentsClient } from "../experiments/client";
import SelectWorkspaceClass from "./selectClass";

type Theme = "light" | "dark" | "system";
// type WorkspaceClass = "standard" | "XL";

export default function Preferences() {
const { user } = useContext(UserContext);
Expand Down Expand Up @@ -56,7 +55,6 @@ export default function Preferences() {
const [isShowWorkspaceClasses, setIsShowWorkspaceClasses] = useState<boolean>(false);
(async () => {
const showWorkspaceClasses = await getExperimentsClient().getValueAsync("workspace_classes", false, {});
console.log("is enabled", showWorkspaceClasses);
setIsShowWorkspaceClasses(showWorkspaceClasses);
})();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,6 @@ const end = new Date(Date.UTC(2000, 2, 1)).toISOString();
allowsChangelogMail: true,
allowsDevXMail: true
},
workspaceClasses: {
regular: "default",
prebuild: "default,"
},
}
});
await this.workspaceDb.store({
Expand Down
4 changes: 0 additions & 4 deletions components/gitpod-db/src/typeorm/user-db-impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,6 @@ export class TypeORMUserDBImpl implements UserDB {
allowsDevXMail: true,
allowsOnboardingMail: true,
},
workspaceClasses: {
regular: "default",
prebuild: "default",
},
},
};
await this.storeUser(user);
Expand Down

0 comments on commit f157a02

Please sign in to comment.