fix: fixed copy to clipboard button (#8426)

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
This commit is contained in:
spc-28 2024-08-27 03:57:44 +05:30 committed by GitHub
parent afb68a6467
commit 26d2296578
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 160 additions and 284 deletions

View file

@ -6,16 +6,18 @@ const Spinner = ({
size = "1em",
circleWidth = 8,
synchronized = false,
className = "",
}: {
size?: string | number;
circleWidth?: number;
synchronized?: boolean;
className?: string;
}) => {
const mountTime = React.useRef(Date.now());
const mountDelay = -(mountTime.current % 1600);
return (
<div className="Spinner">
<div className={`Spinner ${className}`}>
<svg
viewBox="0 0 100 100"
style={{