Skip to content

Commit 014df70

Browse files
committed
nit
1 parent 4ac8a90 commit 014df70

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/pages/quick-start/index.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -360,21 +360,15 @@ export default function IntegrationBuilderPage({ files }: { files: Record<string
360360
{integration.embedLink && (
361361
<button
362362
className={styles.previewButton2}
363-
onClick={() => {
364-
togglePreviewModal(integration.embedLink);
365-
setAbortCountdown(true);
366-
}}
363+
onClick={() => togglePreviewModal(integration.embedLink)}
367364
type="button"
368365
>
369366
Preview
370367
</button>
371368
)}
372369
<button
373370
className={styles.copyButton2}
374-
onClick={() => {
375-
window.open(integration.sourceCodeLink, "_blank");
376-
setAbortCountdown(true);
377-
}}
371+
onClick={() => window.open(integration.sourceCodeLink, "_blank")}
378372
type="button"
379373
>
380374
Source Code

0 commit comments

Comments
 (0)