1
0
forked from noxious/client

npm run format

This commit is contained in:
Dennis Postma 2024-09-20 12:35:07 +02:00
parent c1dc600f28
commit b6b0ccb22d
2 changed files with 7 additions and 5 deletions

View File

@ -4,7 +4,6 @@
<div class="ui-wrapper h-dvh flex flex-col justify-center items-center gap-20 px-10 sm:px-20"> <div class="ui-wrapper h-dvh flex flex-col justify-center items-center gap-20 px-10 sm:px-20">
<div class="filler"></div> <div class="filler"></div>
<div class="flex gap-14 w-full max-h-[650px] overflow-x-auto" v-if="!isLoading"> <div class="flex gap-14 w-full max-h-[650px] overflow-x-auto" v-if="!isLoading">
<!-- CHARACTER LIST --> <!-- CHARACTER LIST -->
<div <div
v-for="character in characters" v-for="character in characters"
@ -91,7 +90,7 @@
</template> </template>
<template #modalBody> <template #modalBody>
You are about to delete <span class="font-extrabold">{{ deletingCharacter.name }}</span You are about to delete <span class="font-extrabold">{{ deletingCharacter.name }}</span
>, are you sure about that? >, are you sure about that?
</template> </template>
</ConfirmationModal> </ConfirmationModal>
</template> </template>

View File

@ -149,9 +149,12 @@ const createScene = (scene: Phaser.Scene) => {
/** /**
* Watch for changes in assets and reload them * Watch for changes in assets and reload them
*/ */
watch(() => assetStore.assets, async () => { watch(
loadAssets(scene) () => assetStore.assets,
}) async () => {
loadAssets(scene)
}
)
} }
const loadAssets = (scene: Phaser.Scene) => { const loadAssets = (scene: Phaser.Scene) => {