From 81c276f3a387958e5cf62f0a93d946c9eac4965f Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Mon, 10 Oct 2022 12:59:20 +0300 Subject: [PATCH] Update snapshots and use css modules Signed-off-by: Alex Andreev --- .../cluster/__snapshots__/cluster-modal-items.test.tsx.snap | 6 ++---- src/renderer/cluster-modals/cluster-modals.module.css | 4 ++++ src/renderer/cluster-modals/cluster-modals.tsx | 4 +++- 3 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 src/renderer/cluster-modals/cluster-modals.module.css diff --git a/src/features/cluster/__snapshots__/cluster-modal-items.test.tsx.snap b/src/features/cluster/__snapshots__/cluster-modal-items.test.tsx.snap index fa7bd50d9c..b90f0b14a3 100644 --- a/src/features/cluster/__snapshots__/cluster-modal-items.test.tsx.snap +++ b/src/features/cluster/__snapshots__/cluster-modal-items.test.tsx.snap @@ -3,8 +3,7 @@ exports[`cluster modal elements given custom cluster modal available renders 1`] = `
{ return ( -
+
{clusterModals.map((modal) => { return modal.visible ? : null; })}