From 2b4ab60b82e748e74716a1a7a8272ef02aab7721 Mon Sep 17 00:00:00 2001 From: Roie Natan Date: Wed, 29 Nov 2023 19:00:18 -0500 Subject: [PATCH] code review --- .../components/Chat/ChatMessage/ChatMessage.module.scss | 1 + src/shared/icons/file.icon.tsx | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/shared/components/Chat/ChatMessage/ChatMessage.module.scss b/src/shared/components/Chat/ChatMessage/ChatMessage.module.scss index 702403c4cd..301f26a02b 100644 --- a/src/shared/components/Chat/ChatMessage/ChatMessage.module.scss +++ b/src/shared/components/Chat/ChatMessage/ChatMessage.module.scss @@ -94,6 +94,7 @@ background-color: $c-pink-active-feed-cards; margin-left: 2.8rem; margin-right: unset; + .mentionText { color: $c-pink-mention-2; } diff --git a/src/shared/icons/file.icon.tsx b/src/shared/icons/file.icon.tsx index 3fe07b33e9..fe97cf696b 100644 --- a/src/shared/icons/file.icon.tsx +++ b/src/shared/icons/file.icon.tsx @@ -5,17 +5,16 @@ const BASE_HEIGHT = 78; const HEIGHT_COEFFICIENT = BASE_HEIGHT / BASE_WIDTH; interface GalleryIconProps { - iconColor?: string; + color?: string; className?: string; size?: number; } export default function FileIcon({ - iconColor, + color = "currentColor", size = BASE_WIDTH, className, }: GalleryIconProps): ReactElement { - const color = iconColor ?? "currentColor"; return (