fix: modals not showing properly due to imports not being updated after components folder restructuring

This commit is contained in:
SauceyRed 2025-07-14 01:05:47 +02:00
parent 7f1b26a59c
commit 088c6c558b
Signed by: sauceyred
GPG key ID: 2BF92EB6D8A5CCA7
4 changed files with 6 additions and 5 deletions

View file

@ -38,9 +38,9 @@
</template>
<script lang="ts" setup>
import { ModalBase } from '#components';
import { render } from 'vue';
import GuildDropdown from '~/components/Guild/GuildDropdown.vue';
import Modal from '~/components/Modals/Modal.vue';
import Button from '~/components/UserInterface/Button.vue';
import type { GuildResponse } from '~/types/interfaces';
@ -54,7 +54,7 @@ const options = [
{ name: "Join", value: "join", callback: async () => {
console.log("join guild!");
const div = document.createElement("div");
const guildJoinModal = h(Modal, {
const guildJoinModal = h(ModalBase, {
title: "Join Guild",
id: "guild-join-modal",
onClose: () => {
@ -97,7 +97,7 @@ const options = [
console.log("create guild");
const user = await useAuth().getUser();
const div = document.createElement("div");
const guildCreateModal = h(Modal, {
const guildCreateModal = h(ModalBase, {
title: "Create a Guild",
id: "guild-join-modal",
onClose: () => {