Skip to content

Commit 4edc158

Browse files
Update webview-ui/src/components/welcome/WelcomeView.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
1 parent 09ccacf commit 4edc158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webview-ui/src/components/welcome/WelcomeView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const WelcomeView = () => {
117117
<div className="flex justify-end">
118118
<VSCodeLink
119119
href="#"
120-
onClick={() => vscode.postMessage({ type: "importSettings" })}
120+
onClick={e => { e.preventDefault(); vscode.postMessage({ type: "importSettings" }) }}
121121
className="text-sm">
122122
{t("welcome:importSettings")}
123123
</VSCodeLink>

0 commit comments

Comments
 (0)