Skip to content

fix: use the renamed CopyPaste icon export - #969

Merged
jadeburton-sumup merged 1 commit into
mainfrom
fix/copy-icon-export
Sep 9, 2026
Merged

fix: use the renamed CopyPaste icon export#969
jadeburton-sumup merged 1 commit into
mainfrom
fix/copy-icon-export

Conversation

@jadeburton-sumup

Copy link
Copy Markdown
Contributor

Why

Lint is failing on main (as of c07471e), which blocks every open pull request, not just the one that introduced it:

src/components/Forms/CopyInput/CopyInput.tsx:6:21 - error ts(2305):
Module '"@sumup-oss/icons"' has no exported member 'Copy'.

A Dependabot bump of @sumup-oss/icons renamed the Copy export to CopyPaste. CopyInput.tsx was not updated with it, so astro check fails.

What changed

Two lines in src/components/Forms/CopyInput/CopyInput.tsx — the import and the renderSuffix call — now use CopyPaste. Confirmed CopyPaste is the only copy-related export in the installed version. The icon itself is unchanged, so there is no visual difference.

Verification

Full matrix for a source change:

  • npm run check — 0 errors, 0 warnings (was 1 error).
  • npm run lint — clean, both lint:src and lint:markdown.
  • npm run test — 10 tests passed across 2 files.

Note

Found while working on #968. Kept separate so that documentation change stays content-only, and so this can merge on its own to unblock other PRs.

A dependency bump of @sumup-oss/icons renamed the Copy export to
CopyPaste, so CopyInput no longer type-checks:

  Module '"@sumup-oss/icons"' has no exported member 'Copy'.

This fails astro check and has left the Lint workflow red on main,
blocking every open pull request rather than only the one that bumped
the dependency.

Update the import and the render call to the new name. The icon is
unchanged, so there is no visual difference.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 9, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
developer-sumup-com c56cca9 Commit Preview URL

Branch Preview URL
Sep 09 2026, 10:51 AM

@jadeburton-sumup
jadeburton-sumup merged commit 0b2a9fe into main Sep 9, 2026
4 checks passed
@jadeburton-sumup
jadeburton-sumup deleted the fix/copy-icon-export branch September 9, 2026 10:56
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.

1 participant