Skip to content

Commit

Permalink
[Client] Fix booster card animation.
Browse files Browse the repository at this point in the history
For some reason using an async component here breaks the leave animation. Not sure what's going on exactly.
  • Loading branch information
Senryoku committed Jun 6, 2024
1 parent 0eea959 commit 7737fc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/App.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ import parseCSV from "./parseCSV";
import LoadingComponent from "./components/LoadingComponent.vue";
import News from "./components/News.vue";
import Communities from "./components/Communities.vue";
import BoosterCard from "./components/BoosterCard.vue";
import CardComponent from "./components/Card.vue";
import CardPlaceholder from "./components/CardPlaceholder.vue";
import CardPool from "./components/CardPool.vue";
Expand Down Expand Up @@ -158,7 +159,7 @@ const ChoosePlayerComponent = defineAsyncComponent(() => import("./components/Ch
export default defineComponent({
components: {
About: defineAsyncComponent(() => import("./components/About.vue")),
BoosterCard: defineAsyncComponent(() => import("./components/BoosterCard.vue")),
BoosterCard,
BracketComponent: defineAsyncComponent(() => import("./components/Bracket.vue")),
Card: defineAsyncComponent(() => import("./components/Card.vue")),
CardList: defineAsyncComponent(() => import("./components/CardList.vue")),
Expand Down

0 comments on commit 7737fc1

Please sign in to comment.