From 0e2e706c480d59333edb6a669b8ed7b5888708da Mon Sep 17 00:00:00 2001 From: horsefacts Date: Tue, 26 Nov 2024 09:37:46 -0500 Subject: [PATCH] add Warpcast deep link --- src/components/Demo.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/components/Demo.tsx b/src/components/Demo.tsx index db14595..dc54e5c 100644 --- a/src/components/Demo.tsx +++ b/src/components/Demo.tsx @@ -65,6 +65,10 @@ export default function Demo() { sdk.actions.openUrl("https://www.youtube.com/watch?v=dQw4w9WgXcQ"); }, []); + const openWarpcastUrl = useCallback(() => { + sdk.actions.openUrl("https://warpcast.com/~/compose"); + }, []); + const close = useCallback(() => { sdk.actions.close(); }, []); @@ -158,6 +162,15 @@ export default function Demo() { +
+
+
+              sdk.actions.openUrl
+            
+
+ +
+