From dcfbf89234e4806408cc25ee80e303d83e8ce7a7 Mon Sep 17 00:00:00 2001 From: Maurice Date: Sun, 25 Oct 2026 11:09:41 +0100 Subject: [PATCH] fix(files): the provider marks are reached through their map only The 4.3.3 release card that imported the five marks one by one is gone, so they stay inside the module and knip no longer counts them as unused exports. --- client/src/components/shared/DocumentProviderIcons.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/client/src/components/shared/DocumentProviderIcons.tsx b/client/src/components/shared/DocumentProviderIcons.tsx index 7349174db..0c6b1ce32 100644 --- a/client/src/components/shared/DocumentProviderIcons.tsx +++ b/client/src/components/shared/DocumentProviderIcons.tsx @@ -34,7 +34,7 @@ function frame(size: number, className: string | undefined) { } /** Paperless-ngx: the leaf, with the shoot curling out of its stem. */ -export function PaperlessIcon({ size = 20, className }: GlyphProps): React.ReactElement { +function PaperlessIcon({ size = 20, className }: GlyphProps): React.ReactElement { return ( @@ -98,7 +98,7 @@ export function NextcloudIcon({ size = 20, className }: GlyphProps): React.React } /** OpenCloud: the open hexagon with the junction inside it. */ -export function OpenCloudIcon({ size = 20, className }: GlyphProps): React.ReactElement { +function OpenCloudIcon({ size = 20, className }: GlyphProps): React.ReactElement { return ( @@ -112,7 +112,7 @@ export function OpenCloudIcon({ size = 20, className }: GlyphProps): React.React } /** Synology Drive: the wordmark's own glyph, as the addon list already draws it. */ -export function SynologyDriveIcon({ size = 20, className }: GlyphProps): React.ReactElement { +function SynologyDriveIcon({ size = 20, className }: GlyphProps): React.ReactElement { return (