Skip to content

Commit 90d904b

Browse files
committed
Fixes #222
1 parent ea634b3 commit 90d904b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

index.d.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,7 @@ declare module "@uidotdev/usehooks" {
123123
): React.MutableRefObject<T>;
124124

125125
export function useCopyToClipboard(): [
126-
{
127-
error: Error | null;
128-
text: string | null;
129-
},
126+
string | null,
130127
(value: string) => Promise<void>
131128
];
132129

0 commit comments

Comments
 (0)