File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -232,10 +232,7 @@ export function SnippetResult({
232
232
</Button> */ }
233
233
{ type === "clarity" && (
234
234
< Button variant = "link" className = "gap-2 self-end" size = "sm" asChild >
235
- < Link
236
- href = { `https://play.hiro.so/?epoch=3.0&snippet=KGRlZmluZS1yZWFkLW9ubHkgKGdldC10ZW51cmUtaGVpZ2h0IChibG9jayB1aW50KSkKICAob2sKICAgIChhdC1ibG9jawogICAgICAodW53cmFwIQogICAgICAgIChnZXQtc3RhY2tzLWJsb2NrLWluZm8_IGlkLWhlYWRlci1oYXNoIGJsb2NrKQogICAgICAgIChlcnIgdTQwNCkogICAgICApCiAgICAgIHRlbnVyZS1oZWlnaHQKICAgICkKICApCik=` }
237
- target = "_blank"
238
- >
235
+ < Link href = { recipe ?. external_url || "" } target = "_blank" >
239
236
Open in Clarity Playground < ArrowUpRight className = "w-4 h-4" />
240
237
</ Link >
241
238
</ Button >
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ export interface RecipeMetadata {
51
51
categories : RecipeCategory [ ] ;
52
52
tags : SubTagsForCategory [ RecipeCategory ] [ ] ;
53
53
dependencies ?: Record < string , string > ;
54
+ external_url ?: string ;
54
55
}
55
56
56
57
// Code blocks extracted from markdown content
You can’t perform that action at this time.
0 commit comments