From 0060db3903cdf8949da1c5d141403b37499c5412 Mon Sep 17 00:00:00 2001 From: Bobby Date: Wed, 4 May 2022 11:16:54 +0530 Subject: [PATCH] // eslint-disable-next-line consistent-return --- renderer/src/core/projects/fetchProjectsMeta.js | 1 - renderer/src/modules/projects/SearchTags.js | 1 - 2 files changed, 2 deletions(-) diff --git a/renderer/src/core/projects/fetchProjectsMeta.js b/renderer/src/core/projects/fetchProjectsMeta.js index a0725cfe..92946439 100644 --- a/renderer/src/core/projects/fetchProjectsMeta.js +++ b/renderer/src/core/projects/fetchProjectsMeta.js @@ -1,4 +1,3 @@ -// eslint-disable-next-line consistent-return import * as logger from '../../logger'; const fetchProjectsMeta = async ({ currentUser }) => { diff --git a/renderer/src/modules/projects/SearchTags.js b/renderer/src/modules/projects/SearchTags.js index d5fb1d6f..02846275 100644 --- a/renderer/src/modules/projects/SearchTags.js +++ b/renderer/src/modules/projects/SearchTags.js @@ -13,7 +13,6 @@ export default function SearchTags({ }) { const [query, setQuery] = React.useState(defaultQuery); const excludeColumns = filterList.splice(filterList.indexOf(), 1); - // eslint-disable-next-line consistent-return const onQuery = useCallback((_query, content) => { let filteredData; setQuery(_query);