diff --git a/packages/react/src/components/LoadedCode.tsx b/packages/react/src/components/LoadedCode.tsx index 002cce6..56e0203 100644 --- a/packages/react/src/components/LoadedCode.tsx +++ b/packages/react/src/components/LoadedCode.tsx @@ -86,7 +86,7 @@ export const Code = forwardRef { - navigator.clipboard.writeText(children ?? ""); + void navigator.clipboard.writeText(children ?? ""); toast({ title: "Copied", description: "The code has been copied to your clipboard.",