reset mounted

This commit is contained in:
2023-09-29 12:36:39 +10:00
parent d670d52083
commit 5088cea413

View File

@@ -52,7 +52,7 @@
</template>
<script setup lang="ts">
import { reactive, ref } from "vue";
import { onMounted, reactive, ref } from "vue";
import { api } from "../helpers/api";
import { useRoute } from "vue-router";
import { Media, MediaResponse } from "../helpers/api.types";
@@ -176,5 +176,7 @@ const handleLoad = async () => {
}
};
handleLoad();
onMounted(() => {
handleLoad();
});
</script>