Skip to content

Commit

Permalink
chore: Should fallback to helloworld tab to show code for old share l…
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackie1210 authored Apr 13, 2023
1 parent c376807 commit 9bbacbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playground/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ function ResetCode({ activeCard }: { activeCard: string }) {
const decoded = JSON.parse(decompressedData)
card = decoded.code
overrideOptions = decoded.options
tab = decoded.tab
tab = decoded.tab || 'helloworld'
} catch (e) {
card = decompressedData
}
Expand Down

1 comment on commit 9bbacbc

@vercel
Copy link

@vercel vercel bot commented on 9bbacbc Apr 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.