Merge pull request 'fix: Double trigger of loadLiquidityStats on initial mount (#361)' (#433) from fix/issue-361 into master

This commit is contained in:
johba 2026-03-03 09:25:47 +01:00
commit c9e84b2c34

View file

@ -128,7 +128,7 @@
</template>
<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 FCard from '@/components/fcomponents/FCard.vue';
import FInput from '@/components/fcomponents/FInput.vue';
@ -270,12 +270,6 @@ watch(
{ immediate: true }
);
onMounted(() => {
if (!liquidityStats.value && !statsLoading.value) {
void loadLiquidityStats();
}
});
function resolveChainName(chainId: number): string {
switch (chainId) {
case 31337: