clean ups

This commit is contained in:
Georges KABBOUCHI 2021-08-17 20:58:51 +03:00
parent f64226d001
commit 620f724bba
2 changed files with 1 additions and 13 deletions

View File

@ -347,7 +347,7 @@
</template>
<script>
import { computed, defineComponent, onMounted, reactive, ref, watch, watchEffect } from '@nuxtjs/composition-api'
import { computed, defineComponent, reactive, ref, watch } from '@nuxtjs/composition-api'
import { useNetwork } from '~/composables/useNetwork'
import tokens from '~/constant/tokens'
import Button from '../Button.vue'
@ -362,7 +362,6 @@ import ButtonCTA from '~/components/common/input/ButtonCTA.vue'
import { useFormatting } from '~/composables/useFormatting'
import { useBalances } from '~/composables/useBalances'
import { useBigNumber } from '~/composables/useBigNumber'
import { use1InchSwap } from '~/composables/swap/use1InchSwap'
export default defineComponent({
components: { List, Menu, IconCurrency, Button, Dropdown, DropdownMenu, ToggleButton, InputPercent, ButtonCTA },

View File

@ -92,17 +92,6 @@ export default defineComponent({
const spells = dsa.value.Spell();
console.log(
getSellSpell({
buyAddr: buyToken.value.address,
sellAddr: sellToken.value.address,
sellAmt: sellToken.value.balance,
unitAmt: caculateUnitAmt(),
calldata: result.tx.data,
setId: 0
})
);
spells.add(
getSellSpell({
buyAddr: buyToken.value.address,