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 08a7adf commit 021e542Copy full SHA for 021e542
packages/overmind-website/src/utils.tsx
@@ -12,13 +12,8 @@ export const viewport = {
12
},
13
}
14
15
-export const getBranch = () =>
16
- location.host.split('.')[0] === 'next' || location.hostname === 'localhost'
17
- ? 'next'
18
- : 'master'
19
-
20
export const getGithubBaseUrl = () =>
21
- `https://github.com/cerebral/overmind/edit/${getBranch()}/packages/overmind-website/`
+ `https://github.com/cerebral/overmind/edit/next/packages/overmind-website/`
22
23
export const getTheme = () => localStorage.getItem('theme') || 'react'
24
0 commit comments