We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22f5876 commit f8b389aCopy full SHA for f8b389a
components/dashboard/src/App.tsx
@@ -79,7 +79,13 @@ function App() {
79
}
80
window.removeEventListener('storage', updateTheme);
81
82
- }, [localStorage.theme]);
+ }, []);
83
+
84
+ if ((window.location.hostname === 'gitpod.io' || window.location.hostname === 'gitpod-staging.com' || window.location.hostname.endsWith('gitpod-dev.com'))
85
+ && window.location.pathname === '/' && window.location.hash === '' && !loading && !user) {
86
+ window.location.href = `https://www.gitpod.io`;
87
+ return <div></div>;
88
+ }
89
90
if (loading) {
91
return <Loading />
0 commit comments