From 9a800991a589c10ad6845728456d935168c041fa Mon Sep 17 00:00:00 2001 From: Kyrylo Shmidt Date: Wed, 6 Mar 2024 19:30:53 +0100 Subject: [PATCH 1/2] Improve types --- src/components/Assets/index.tsx | 4 ++-- src/components/Insights/InsightsCatalog/index.tsx | 10 +++++----- .../Insights/common/InsightCard/index.tsx | 2 +- .../Insights/common/InsightCard/styles.ts | 13 +++++++------ src/components/Insights/common/InsightCard/types.ts | 2 +- src/components/Insights/tracking.ts | 2 +- src/components/Insights/types.ts | 7 ++++--- 7 files changed, 21 insertions(+), 19 deletions(-) diff --git a/src/components/Assets/index.tsx b/src/components/Assets/index.tsx index c1a382160..baad64d03 100644 --- a/src/components/Assets/index.tsx +++ b/src/components/Assets/index.tsx @@ -204,9 +204,9 @@ export const Assets = () => { /> ) )} - + diff --git a/src/components/Insights/InsightsCatalog/index.tsx b/src/components/Insights/InsightsCatalog/index.tsx index f36353dad..dbcd11c70 100644 --- a/src/components/Insights/InsightsCatalog/index.tsx +++ b/src/components/Insights/InsightsCatalog/index.tsx @@ -145,9 +145,9 @@ export const InsightsCatalog = (props: InsightsCatalogProps) => { ]} default={defaultQuery.sorting} /> - + @@ -156,8 +156,8 @@ export const InsightsCatalog = (props: InsightsCatalogProps) => { {mode === ViewMode.OnlyDismissed && (