You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you click Copy, you get the value asynchronously, and then you can't get the latest value const onClick= () => { setCopyText('text'); }; <CopyToClipboard text={copyText} > <Typography.Link> <ShareAltOutlined onClick={onClick} /> </Typography.Link> </CopyToClipboard>
consider exposing the copy method?
The text was updated successfully, but these errors were encountered:
When you click Copy, you get the value asynchronously, and then you can't get the latest value
const onClick= () => { setCopyText('text'); }; <CopyToClipboard text={copyText} > <Typography.Link> <ShareAltOutlined onClick={onClick} /> </Typography.Link> </CopyToClipboard>
consider exposing the copy method?
The text was updated successfully, but these errors were encountered: