From a996015b2055672f92f1a3522369e6ef387ac2ae Mon Sep 17 00:00:00 2001 From: Nicola Benaglia Date: Sat, 24 May 2025 12:12:25 +0200 Subject: [PATCH] Remove CustomSvg (unused) --- src/common/CustomSvg.tsx | 14 -------------- src/components/Embeds/AttachmentEmbed.tsx | 3 +-- src/components/Group/Forum/Thread.tsx | 1 + 3 files changed, 2 insertions(+), 16 deletions(-) delete mode 100644 src/common/CustomSvg.tsx diff --git a/src/common/CustomSvg.tsx b/src/common/CustomSvg.tsx deleted file mode 100644 index fc805a9..0000000 --- a/src/common/CustomSvg.tsx +++ /dev/null @@ -1,14 +0,0 @@ -export const CustomSvg = ({ src, color = 'black', size = 24 }) => { - return ( - - {src} - - ); -}; diff --git a/src/components/Embeds/AttachmentEmbed.tsx b/src/components/Embeds/AttachmentEmbed.tsx index d7458a7..adbcd82 100644 --- a/src/components/Embeds/AttachmentEmbed.tsx +++ b/src/components/Embeds/AttachmentEmbed.tsx @@ -226,8 +226,7 @@ export const AttachmentCard = ({ width: '100%', }} > - {' '} - {' '} + )} {errorMsg && ( diff --git a/src/components/Group/Forum/Thread.tsx b/src/components/Group/Forum/Thread.tsx index bf8682f..a293d5f 100644 --- a/src/components/Group/Forum/Thread.tsx +++ b/src/components/Group/Forum/Thread.tsx @@ -931,6 +931,7 @@ export const Thread = ({ }} > +