Skip to content

Commit 3c57b41

Browse files
committed
1 parent ca6f476 commit 3c57b41

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,12 @@ export default function WebWelcomeTab() {
4646
{numConnections === 0 && (
4747
<>
4848
<Button
49-
as={Link}
49+
as={
50+
/* The type assert is a temporary workaround for https://jira.mongodb.org/browse/LG-5590 */
51+
Link as React.FunctionComponent<{
52+
href: string;
53+
}>
54+
}
5055
data-testid="add-new-atlas-cluster-button"
5156
variant={ButtonVariant.Primary}
5257
href={'#/clusters/starterTemplates'}

0 commit comments

Comments
 (0)