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 f44ae52 commit 3b19e29Copy full SHA for 3b19e29
packages/compass-welcome/src/components/web-welcome-tab.tsx
@@ -26,10 +26,6 @@ const contentBodyStyles = css({
26
alignItems: 'flex-start',
27
});
28
29
-function getCreateAtlasClusterUrl() {
30
- return window.location.href.replace(/#.*$/, '#/clusters/starterTemplates');
31
-}
32
-
33
export default function WebWelcomeTab() {
34
const numConnections = useConnectionIds().length;
35
return (
@@ -49,7 +45,7 @@ export default function WebWelcomeTab() {
49
45
as={Link}
50
46
data-testid="add-new-atlas-cluster-button"
51
47
variant={ButtonVariant.Primary}
52
- href={getCreateAtlasClusterUrl()}
48
+ href={'#/clusters/starterTemplates'}
53
>
54
Create a Cluster
55
</Button>
0 commit comments