Merge branch 'main' into greg/add_null_support_to_tools

This commit is contained in:
Cliff Hall 2025-10-11 11:59:07 -04:00 • committed by GitHub
commit 0ae2b7e7fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ const JsonView = memo(
variant: "destructive", variant: "destructive",
}); });
} }
}, [toast, normalizedData]); }, [toast, normalizedData, setCopied]);
return ( return (
<div className={clsx("p-4 border rounded relative", className)}> <div className={clsx("p-4 border rounded relative", className)}>

View file

@ -21,7 +21,7 @@ function useCopy({ timeout = 500 }: UseCopyProps = {}) {
clearTimeout(timeoutId); clearTimeout(timeoutId);
} }
}; };
}, [copied]); }, [copied, timeout]);
return { copied, setCopied }; return { copied, setCopied };
} }