0
0
Fork 0

fix descriptor doing request on loop

This commit is contained in:
Pau 2022-11-23 14:50:47 +01:00
parent e864843c28
commit 7c0386f729
1 changed files with 1 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<script setup>
import { onMounted, computed, ref, onUpdated } from 'vue';
import { onMounted, computed, ref } from 'vue';
import { useRoute } from 'vue-router';
import { useI18n } from 'vue-i18n';
import { useSession } from 'src/composables/useSession';
@ -18,8 +18,6 @@ onMounted(async () => {
await fetch();
});
onUpdated(async () => await fetch());
const route = useRoute();
const { t } = useI18n();
const { getToken } = useSession();