Skip to content

Commit

Permalink
chore: remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
aliassan committed Feb 25, 2025
1 parent 055a43c commit f1df6ca
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,23 +100,18 @@
<script setup lang="ts">
import ButtonUI from '@/components/ButtonUI.vue'
import TableComponent, { type TableColumn } from '@/components/TableComponent.vue'
import { computed, onMounted, reactive, ref, watch, type Ref } from 'vue'
import type { ManyExpenseResponse, ManyExpenseWithBalances, Team } from '@/types'
import { computed, onMounted, ref, watch } from 'vue'
import type { Team } from '@/types'
import { log, parseError, tokenSymbol } from '@/utils'
import { useCustomFetch, useExpenseAccountDataCollection } from '@/composables'
import { useExpenseAccountDataCollection } from '@/composables'
import { useToastStore, useUserDataStore } from '@/stores'
import { useRoute } from 'vue-router'
import { formatEther, zeroAddress, type Address, keccak256 } from 'viem'
import { type Address, keccak256 } from 'viem'
import { useReadContract, useWaitForTransactionReceipt, useWriteContract } from '@wagmi/vue'
import { readContract } from '@wagmi/core'
import { config } from '@/wagmi.config'
import expenseAccountABI from '@/artifacts/abi/expense-account-eip712.json'
const { team } = defineProps<{
team: Partial<Team> | null
}>()
const emits = defineEmits(['disableApproval', 'enableApproval'])
const route = useRoute()
const { addErrorToast, addSuccessToast } = useToastStore()
const userDataStore = useUserDataStore()
const statuses = ['all', 'disabled', 'enabled', 'expired']
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { ManyExpenseResponse, ManyExpenseWithBalances, Team } from '@/types'
import { useCustomFetch } from '../useCustomFetch'
import { useRoute } from 'vue-router'
import { reactive, ref, type Ref, watch } from 'vue'
import { reactive, ref, watch } from 'vue'
import { readContract } from '@wagmi/core'
import { formatEther, keccak256, zeroAddress, type Address } from 'viem'
import { config } from '@/wagmi.config'
Expand Down
6 changes: 3 additions & 3 deletions app/src/views/team/[id]/ExpenseAccountView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@

<script setup lang="ts">
//#region Imports
import { computed, onMounted, reactive, ref, watch } from 'vue'
import type { Team, User, BudgetLimit, ManyExpenseWithBalances } from '@/types'
import { computed, onMounted, ref, watch } from 'vue'
import type { Team, User, BudgetLimit } from '@/types'
import { NETWORK, USDC_ADDRESS } from '@/constant'
import ModalComponent from '@/components/ModalComponent.vue'
import ApproveUsersForm from '@/components/forms/ApproveUsersEIP712Form.vue'
Expand Down Expand Up @@ -203,7 +203,7 @@ const { execute: executeAddExpenseData } = useCustomFetch(`teams/${route.params.
//#region Composables
const currentUserAddress = useUserDataStore().address
const { addErrorToast, addSuccessToast } = useToastStore()
const { addErrorToast } = useToastStore()
const { data: manyExpenseAccountDataAll, initializeBalances } = useExpenseAccountDataCollection()
const { signTypedData, data: signature, error: signTypedDataError } = useSignTypedData()
const chainId = useChainId()
Expand Down

0 comments on commit f1df6ca

Please sign in to comment.