mirror of
https://github.com/Instadapp/assembly.git
synced 2024-07-29 22:37:06 +00:00
fixes
This commit is contained in:
parent
ae6a4a7a81
commit
c872ebe59c
|
@ -100,16 +100,18 @@
|
|||
|
||||
<script>
|
||||
import { defineComponent, nextTick, ref } from '@nuxtjs/composition-api'
|
||||
import { useModal } from '~/composables/useModal'
|
||||
import { useNetwork } from '~/composables/useNetwork'
|
||||
import { useTenderly } from '~/composables/useTenderly'
|
||||
|
||||
export default defineComponent({
|
||||
setup() {
|
||||
const show = ref(false)
|
||||
|
||||
const { networks, activeNetworkId, activeNetwork, checkForNetworkMismatch } = useNetwork()
|
||||
const { stopSimulation } = useTenderly()
|
||||
|
||||
const setActiveNetwork = async networkId => {
|
||||
await stopSimulation()
|
||||
activeNetworkId.value = networkId;
|
||||
show.value = false
|
||||
await nextTick()
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
</button>
|
||||
</div>
|
||||
|
||||
<div v-if="canSimulate" class="fixed bottom-0 left-0 ml-10 mb-16">
|
||||
<div v-if="active && canSimulate" class="fixed bottom-0 left-0 ml-10 mb-16">
|
||||
<button
|
||||
v-if="forkId"
|
||||
@click="stopSimulation"
|
||||
|
|
Loading…
Reference in New Issue
Block a user