From 51efd2ffc6a47bdc018117f4e6f7c8133d97cdf1 Mon Sep 17 00:00:00 2001 From: Uladzislau_Kutarkin Date: Tue, 24 Dec 2024 16:55:29 +0400 Subject: [PATCH] UIPQB-164: fix lint --- src/QueryBuilder/ResultViewer/ResultViewer.js | 2 +- src/hooks/useViewerCallbacks.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/QueryBuilder/ResultViewer/ResultViewer.js b/src/QueryBuilder/ResultViewer/ResultViewer.js index 24173ca..3e7f958 100644 --- a/src/QueryBuilder/ResultViewer/ResultViewer.js +++ b/src/QueryBuilder/ResultViewer/ResultViewer.js @@ -82,7 +82,7 @@ export const ResultViewer = ({ onPreviewShown, defaultLimit, forcedVisibleValues, - visibleColumns + visibleColumns, }); // refresh functionality diff --git a/src/hooks/useViewerCallbacks.js b/src/hooks/useViewerCallbacks.js index 09e7fe1..ae591d1 100644 --- a/src/hooks/useViewerCallbacks.js +++ b/src/hooks/useViewerCallbacks.js @@ -8,14 +8,14 @@ export const useViewerCallbacks = ({ currentRecordsCount, onPreviewShown, defaultLimit, - visibleColumns + visibleColumns, }) => { useEffect(() => { if (defaultColumns.length !== 0) { onSetDefaultColumns?.(defaultColumns); const uniqueVisibleColumns = Array.from( - new Set([...defaultVisibleColumns, ...visibleColumns]) + new Set([...defaultVisibleColumns, ...visibleColumns]), ); onSetDefaultVisibleColumns?.(uniqueVisibleColumns);