Skip to content

fix(ui): reset CopyButton checkmark after copying - #1762

Closed
puang59 wants to merge 1 commit into
supermemoryai:mainfrom
puang59:fix/copy-button-reset
Closed

puang59 wants to merge 1 commit into
supermemoryai:mainfrom
puang59:fix/copy-button-reset

Conversation

@puang59

@puang59 puang59 commented Oct 5, 2026

Copy link
Copy Markdown

Fixes #1761

CopyButton started its 2s reset timer once on mount, so the check icon stayed forever if you clicked after that. The timer now starts when hasCopied becomes true and is cleared on cleanup, matching CopyableCell.

Checked with biome check. No UI or breaking changes.

@puang59

puang59 commented Oct 5, 2026

Copy link
Copy Markdown
Author

Closing: CopyButton isn't used anywhere in the repo, so this has no user impact. Sorry for the noise.

@puang59 puang59 closed this Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CopyButton never resets its checkmark after copying

1 participant