Skip to content

Commit 3b19e29

Browse files
committed
cluster url
1 parent f44ae52 commit 3b19e29

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/compass-welcome/src/components/web-welcome-tab.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ const contentBodyStyles = css({
2626
alignItems: 'flex-start',
2727
});
2828

29-
function getCreateAtlasClusterUrl() {
30-
return window.location.href.replace(/#.*$/, '#/clusters/starterTemplates');
31-
}
32-
3329
export default function WebWelcomeTab() {
3430
const numConnections = useConnectionIds().length;
3531
return (
@@ -49,7 +45,7 @@ export default function WebWelcomeTab() {
4945
as={Link}
5046
data-testid="add-new-atlas-cluster-button"
5147
variant={ButtonVariant.Primary}
52-
href={getCreateAtlasClusterUrl()}
48+
href={'#/clusters/starterTemplates'}
5349
>
5450
Create a Cluster
5551
</Button>

0 commit comments

Comments
 (0)