From a52ad47b177a365a7421552c8fe68f4a30263bb1 Mon Sep 17 00:00:00 2001 From: salti Date: Sun, 17 Mar 2024 21:53:19 -0600 Subject: [PATCH] Checked Lint --- .../Common/Providers/TogglesProvider.tsx | 11 ++++++----- .../Common/Providers/myVerifiedProfiles.js | 17 ++++++++--------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/apps/web/src/components/Common/Providers/TogglesProvider.tsx b/apps/web/src/components/Common/Providers/TogglesProvider.tsx index 0382187f6..323e0e839 100644 --- a/apps/web/src/components/Common/Providers/TogglesProvider.tsx +++ b/apps/web/src/components/Common/Providers/TogglesProvider.tsx @@ -29,11 +29,13 @@ const TogglesProvider = () => { const fetchVerifiedProfiles = async () => { try { const { data } = await axios.get(WORKER_VERIFIED_URL) - const backendVerifiedProfiles = data?.ids ?? []; - const combinedVerifiedProfiles = [...new Set([...backendVerifiedProfiles, ...myVerifiedProfiles])]; - setVerifiedProfiles(combinedVerifiedProfiles); + const backendVerifiedProfiles = data?.ids ?? [] + const combinedVerifiedProfiles = [ + ...new Set([...backendVerifiedProfiles, ...myVerifiedProfiles]) + ] + setVerifiedProfiles(combinedVerifiedProfiles) } catch (error) { - console.error('Error fetching verified profiles:', error); + console.error('Error fetching verified profiles:', error) // Handle error appropriately } } @@ -77,4 +79,3 @@ const TogglesProvider = () => { } export default TogglesProvider - diff --git a/apps/web/src/components/Common/Providers/myVerifiedProfiles.js b/apps/web/src/components/Common/Providers/myVerifiedProfiles.js index 94c16d5e5..78eafad7d 100644 --- a/apps/web/src/components/Common/Providers/myVerifiedProfiles.js +++ b/apps/web/src/components/Common/Providers/myVerifiedProfiles.js @@ -1,11 +1,10 @@ // apps/web/src/components/Common/Providers/myVerifiedProfiles.js export const myVerifiedProfiles = [ - '0x01b89c', - '0x25bb', - '0x01b98c', - '0x01ec9c', - '0x01ed5f', - '0x01ecc3', - '0x4bed' - ]; - \ No newline at end of file + '0x01b89c', + '0x25bb', + '0x01b98c', + '0x01ec9c', + '0x01ed5f', + '0x01ecc3', + '0x4bed' +]