Skip to content

Commit

Permalink
Checked Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
justsoantsy committed Mar 18, 2024
1 parent 1e39f21 commit a52ad47
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
11 changes: 6 additions & 5 deletions apps/web/src/components/Common/Providers/TogglesProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down Expand Up @@ -77,4 +79,3 @@ const TogglesProvider = () => {
}

export default TogglesProvider

17 changes: 8 additions & 9 deletions apps/web/src/components/Common/Providers/myVerifiedProfiles.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
// apps/web/src/components/Common/Providers/myVerifiedProfiles.js
export const myVerifiedProfiles = [
'0x01b89c',
'0x25bb',
'0x01b98c',
'0x01ec9c',
'0x01ed5f',
'0x01ecc3',
'0x4bed'
];

'0x01b89c',
'0x25bb',
'0x01b98c',
'0x01ec9c',
'0x01ed5f',
'0x01ecc3',
'0x4bed'
]

0 comments on commit a52ad47

Please sign in to comment.