Skip to content

Commit

Permalink
Fix #19548 - Increase address copy to clipboard time (#19948)
Browse files Browse the repository at this point in the history
  • Loading branch information
darkwing authored and danjm committed Jul 13, 2023
1 parent 88c433c commit fac889c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { useCopyToClipboard } from '../../../hooks/useCopyToClipboard';
import { shortenAddress } from '../../../helpers/utils/util';
import Tooltip from '../../ui/tooltip/tooltip';
import { useI18nContext } from '../../../hooks/useI18nContext';
import { MINUTE } from '../../../../shared/constants/time';

export const AddressCopyButton = ({
address,
Expand All @@ -22,7 +23,7 @@ export const AddressCopyButton = ({
onClick,
}) => {
const displayAddress = shorten ? shortenAddress(address) : address;
const [copied, handleCopy] = useCopyToClipboard();
const [copied, handleCopy] = useCopyToClipboard(MINUTE);
const t = useI18nContext();

return (
Expand Down

0 comments on commit fac889c

Please sign in to comment.