Skip to content

Commit

Permalink
fix(types): clipboard is not consistently optional
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpatrickdev committed Jan 23, 2024
1 parent 864e9e1 commit 96e07dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useWatchBundle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 96e07dc

Please sign in to comment.