Merge pull request #858 from cliffhall/fix-lint

Fix linter complaints
This commit is contained in:
Ola Hungerford 2025-10-10 19:08:26 -07:00 • committed by GitHub
commit f013291f34
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",
});
}
}, [toast, normalizedData]);
}, [toast, normalizedData, setCopied]);
return (
<div className={clsx("p-4 border rounded relative", className)}>

View file

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