This commit is contained in:
thepaperpilot 2024-12-26 05:12:16 -06:00
parent 595a4170b2
commit 44cdb70919
2 changed files with 4 additions and 5 deletions

View file

@ -53,7 +53,7 @@
</div>
<br />
<div>Time Played: {{ timePlayed }}</div>
<Info />
<InfoComponents />
</div>
</template>
</Modal>
@ -77,7 +77,7 @@ const isOpen = ref(false);
const timePlayed = computed(() => formatTime(player.timePlayed));
const Info = () => infoComponents.map(f => render(f));
const InfoComponents = () => infoComponents.map(f => render(f));
defineExpose({
open() {

View file

@ -16,10 +16,9 @@
<script setup lang="tsx">
import "components/common/features.css";
import { isJSXElement, render } from "util/vue";
import { Component, isRef, unref } from "vue";
import { render } from "util/vue";
import { Component, unref } from "vue";
import { Achievement } from "./achievement";
import { displayRequirements } from "game/requirements";
const props = defineProps<{
display: Achievement["display"];