Merge pull request 'fix: Double trigger of loadLiquidityStats on initial mount (#361)' (#433) from fix/issue-361 into master
This commit is contained in:
commit
c9e84b2c34
1 changed files with 1 additions and 7 deletions
|
|
@ -128,7 +128,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { computed, onMounted, ref, watch } from 'vue';
|
import { computed, ref, watch } from 'vue';
|
||||||
import FButton from '@/components/fcomponents/FButton.vue';
|
import FButton from '@/components/fcomponents/FButton.vue';
|
||||||
import FCard from '@/components/fcomponents/FCard.vue';
|
import FCard from '@/components/fcomponents/FCard.vue';
|
||||||
import FInput from '@/components/fcomponents/FInput.vue';
|
import FInput from '@/components/fcomponents/FInput.vue';
|
||||||
|
|
@ -270,12 +270,6 @@ watch(
|
||||||
{ immediate: true }
|
{ immediate: true }
|
||||||
);
|
);
|
||||||
|
|
||||||
onMounted(() => {
|
|
||||||
if (!liquidityStats.value && !statsLoading.value) {
|
|
||||||
void loadLiquidityStats();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
function resolveChainName(chainId: number): string {
|
function resolveChainName(chainId: number): string {
|
||||||
switch (chainId) {
|
switch (chainId) {
|
||||||
case 31337:
|
case 31337:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue