Content
@
https://warpcast.com/~/channel/frames-v2
0 reply
0 recast
0 reaction
dylan
@dylsteck.eth
using @stevedylandev.eth’s snippets frame to share this FrameLink utility I’ve been using in my apps lately to use viewProfile/openUrl when in a frame and fallback to regular links otherwise https://snippets.so/snip/Mvt67Q0nA0
3 replies
4 recasts
22 reactions
dylan
@dylsteck.eth
small note: you don’t need to use cn(can swap with your shadcn instance’s function instead) or the classNames prop, those just come in handy for my own projects
0 reply
0 recast
5 reactions
Steve
@stevedylandev.eth
Sick!! Great idea 🔥🔥
1 reply
0 recast
1 reaction
Zinger ↑
@zinger
Nice, thanks for sharing! Noticed that you have the sdk `viewProfile` call in the `else` block as well, is that a typo or is there a reason for calling that in addition to `window.open`?
1 reply
0 recast
1 reaction