diff --git a/snapshot-spaces b/snapshot-spaces index c9cd44be2..2f48598cb 160000 --- a/snapshot-spaces +++ b/snapshot-spaces @@ -1 +1 @@ -Subproject commit c9cd44be2440681e46d9d62e7042e90e473b9125 +Subproject commit 2f48598cb69164609bd0c02a65cddd223dc74af2 diff --git a/src/components/AvatarToken.vue b/src/components/AvatarToken.vue index 43d0f296d..155dc9d19 100644 --- a/src/components/AvatarToken.vue +++ b/src/components/AvatarToken.vue @@ -21,8 +21,9 @@ withDefaults( }" alt="Token logo" @error=" - ($event.target as HTMLImageElement).src = - `https://cdn.stamp.fyi/token/eth:${address}?s=100` + ( + $event.target as HTMLImageElement + ).src = `https://cdn.stamp.fyi/token/eth:${address}?s=100` " /> diff --git a/src/components/ButtonFollow.vue b/src/components/ButtonFollow.vue index 850c5f83e..c71b35759 100644 --- a/src/components/ButtonFollow.vue +++ b/src/components/ButtonFollow.vue @@ -49,8 +49,8 @@ watch( loadingFollow !== '' ? null : canFollow - ? clickFollow(space.id) - : (modalTermsOpen = true) + ? clickFollow(space.id) + : (modalTermsOpen = true) " > {{ $t('join') }} diff --git a/src/components/SidebarUnreadIndicator.vue b/src/components/SidebarUnreadIndicator.vue index caccfee21..dc9443cc8 100644 --- a/src/components/SidebarUnreadIndicator.vue +++ b/src/components/SidebarUnreadIndicator.vue @@ -8,8 +8,8 @@ defineProps<{ space: string; hasUnseen: boolean }>(); $route.params.key === space ? '!h-[20px] bg-skin-link' : hasUnseen - ? 'bg-skin-text group-hover:h-[10px]' - : 'group-hover:h-[10px] ' + ? 'bg-skin-text group-hover:h-[10px]' + : 'group-hover:h-[10px] ' ]" class="absolute left-[-4px] h-[8px] w-[8px] rounded-full transition-all duration-300 group-hover:bg-skin-link" /> diff --git a/src/components/SpaceProposalPage.vue b/src/components/SpaceProposalPage.vue index 5df3ab9ad..cc892810d 100644 --- a/src/components/SpaceProposalPage.vue +++ b/src/components/SpaceProposalPage.vue @@ -63,8 +63,8 @@ function clickVote() { !web3.value.account ? (modalAccountOpen.value = true) : !termsAccepted.value && props.space.terms - ? (modalTermsOpen.value = true) - : (modalOpen.value = true); + ? (modalTermsOpen.value = true) + : (modalOpen.value = true); } function reloadProposal() { diff --git a/src/composables/useEmailSubscription.ts b/src/composables/useEmailSubscription.ts index 171a1a3c6..eef124b7c 100644 --- a/src/composables/useEmailSubscription.ts +++ b/src/composables/useEmailSubscription.ts @@ -19,13 +19,10 @@ function useEmailSubscriptionComposable() { const clientSubscriptions = computed({ get() { - return subscriptionTypes.reduce( - (acc, type) => { - acc[type] = apiSubscriptions.value.includes(type); - return acc; - }, - {} as Record - ); + return subscriptionTypes.reduce((acc, type) => { + acc[type] = apiSubscriptions.value.includes(type); + return acc; + }, {} as Record); }, set(value) { apiSubscriptions.value = Object.entries(value) diff --git a/src/composables/useNetworksFilter.ts b/src/composables/useNetworksFilter.ts index 664bcefa0..8b8dfa96d 100644 --- a/src/composables/useNetworksFilter.ts +++ b/src/composables/useNetworksFilter.ts @@ -35,8 +35,8 @@ export function useNetworksFilter() { a.name.toLowerCase().includes('testnet') ? 1 : b.name.toLowerCase().includes('testnet') - ? -1 - : 0 + ? -1 + : 0 ); return networksArrayTestnetworksLast; diff --git a/src/composables/useStatement.ts b/src/composables/useStatement.ts index 24b46a2e1..1b32762c1 100644 --- a/src/composables/useStatement.ts +++ b/src/composables/useStatement.ts @@ -57,13 +57,10 @@ export function useStatement() { if (!response) throw new Error('No statements found'); - const newStatements = response.reduce( - (acc, statement) => { - acc[statement.delegate.toLowerCase()] = statement; - return acc; - }, - {} as Record - ); + const newStatements = response.reduce((acc, statement) => { + acc[statement.delegate.toLowerCase()] = statement; + return acc; + }, {} as Record); statements.value = { ...statements.value, ...newStatements }; } catch (e) { console.error(e); diff --git a/src/composables/useTreasury.ts b/src/composables/useTreasury.ts index def4f472c..dde25bc1a 100644 --- a/src/composables/useTreasury.ts +++ b/src/composables/useTreasury.ts @@ -28,14 +28,10 @@ export function useTreasury() { if (treasuryAssets.value[address]) return; const balances = await getTokenBalances(address, chainId) - .then( - balances => - balances?.filter( - balance => - tokenListContractAddresses.value?.includes( - balance.contract_address - ) - ) + .then(balances => + balances?.filter(balance => + tokenListContractAddresses.value?.includes(balance.contract_address) + ) ) .catch(() => []); if (balances) treasuryAssets.value[address] = balances; diff --git a/src/helpers/lensResolver.ts b/src/helpers/lensResolver.ts index 57ec415d5..65d47d5c6 100644 --- a/src/helpers/lensResolver.ts +++ b/src/helpers/lensResolver.ts @@ -83,8 +83,9 @@ class LensResolver { async resolveAddresses( addresses: Address[] ): Promise> { - const addressesWithHandles = - await this.getAvailableHandleMapping(addresses); + const addressesWithHandles = await this.getAvailableHandleMapping( + addresses + ); const tokenMapping = await this.getTokensMapping(addressesWithHandles); return this.getHandleMapping(tokenMapping); } diff --git a/src/plugins/progress/components/CustomBlock.vue b/src/plugins/progress/components/CustomBlock.vue index 082249fd0..8296d58fc 100644 --- a/src/plugins/progress/components/CustomBlock.vue +++ b/src/plugins/progress/components/CustomBlock.vue @@ -518,10 +518,7 @@ a.button { width: 10px; height: 12px; border: 2px solid transparent; - box-shadow: - 0 0 0 2px, - inset -2px 0 0, - inset 2px 0 0; + box-shadow: 0 0 0 2px, inset -2px 0 0, inset 2px 0 0; border-bottom-left-radius: 1px; border-bottom-right-radius: 1px; margin-top: 4px; diff --git a/src/plugins/safeSnap/utils/umaModule.ts b/src/plugins/safeSnap/utils/umaModule.ts index f9219964c..181509d22 100644 --- a/src/plugins/safeSnap/utils/umaModule.ts +++ b/src/plugins/safeSnap/utils/umaModule.ts @@ -104,8 +104,8 @@ const findProposalGql = async ( const request = ` { proposals(where:{proposalHash:"${params.proposalHash}",explanation:"${ - params.explanation - }",optimisticGovernor:"${params.ogAddress.toLowerCase()}"}){ + params.explanation + }",optimisticGovernor:"${params.ogAddress.toLowerCase()}"}){ id executed assertionId diff --git a/src/views/SpaceView.vue b/src/views/SpaceView.vue index d00020963..4fe674d23 100644 --- a/src/views/SpaceView.vue +++ b/src/views/SpaceView.vue @@ -15,8 +15,8 @@ const spaceKey = computed( () => aliasedSpace.value || domain || route.params.key ); -const space = computed( - () => extendedSpaces.value?.find(s => s.id === spaceKey.value.toLowerCase()) +const space = computed(() => + extendedSpaces.value?.find(s => s.id === spaceKey.value.toLowerCase()) ); const { isMessageVisible, setMessageVisibility } =