From 2e0fe9326998f35103be9b197c7d10b00a09f1c1 Mon Sep 17 00:00:00 2001 From: Elizabeth Thompson Date: Fri, 10 Dec 2021 16:43:17 -0800 Subject: [PATCH] fix prettier/lint error --- .../src/dashboard/components/PropertiesModal/index.tsx | 8 ++++++-- .../src/explore/components/PropertiesModal/index.tsx | 6 +++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/superset-frontend/src/dashboard/components/PropertiesModal/index.tsx b/superset-frontend/src/dashboard/components/PropertiesModal/index.tsx index 6f9c723f354..7e7ad24315c 100644 --- a/superset-frontend/src/dashboard/components/PropertiesModal/index.tsx +++ b/superset-frontend/src/dashboard/components/PropertiesModal/index.tsx @@ -273,8 +273,12 @@ const PropertiesModal = ({ }; const onFinish = () => { - const { title, slug, certifiedBy, certificationDetails } = - form.getFieldsValue(); + const { + title, + slug, + certifiedBy, + certificationDetails, + } = form.getFieldsValue(); let currentColorScheme = colorScheme; let colorNamespace = ''; diff --git a/superset-frontend/src/explore/components/PropertiesModal/index.tsx b/superset-frontend/src/explore/components/PropertiesModal/index.tsx index 6b50d2bea8f..6dbf866be30 100644 --- a/superset-frontend/src/explore/components/PropertiesModal/index.tsx +++ b/superset-frontend/src/explore/components/PropertiesModal/index.tsx @@ -89,7 +89,11 @@ export default function PropertiesModal({ const loadOptions = useMemo( () => (input = '', page: number, pageSize: number) => { - const query = rison.encode({ filter: input, page, page_size: pageSize }); + const query = rison.encode({ + filter: input, + page, + page_size: pageSize, + }); return SupersetClient.get({ endpoint: `/api/v1/chart/related/owners?q=${query}`, }).then(response => ({