From 96e07dc3fb280d566b5a25deeb66deb5a3d83729 Mon Sep 17 00:00:00 2001 From: 0xPatrick Date: Mon, 22 Jan 2024 22:13:12 -0500 Subject: [PATCH] fix(types): clipboard is not consistently optional --- src/hooks/useWatchBundle.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useWatchBundle.tsx b/src/hooks/useWatchBundle.tsx index 817285a..db7c822 100644 --- a/src/hooks/useWatchBundle.tsx +++ b/src/hooks/useWatchBundle.tsx @@ -18,7 +18,7 @@ type IteratorEnvelope = { export const useWatchBundle = ( rpcUrl: string | undefined, - { clipboard }: { clipboard: Navigator["clipboard"] }, + { clipboard }: { clipboard?: Navigator["clipboard"] }, ) => { const leader = rpcUrl ? makeLeader(rpcUrl) : undefined;