Skip to content

Commit

Permalink
fix: console warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanrajh authored and Haberkamp committed Aug 20, 2024
1 parent 7e2c3ac commit 36e0812
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/clever-clocks-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@shopware-ag/meteor-component-library": patch
---

Fixed missing emit definition and console warning
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ export default defineComponent({
"mt-icon": MtIcon,
},
emits: ['new-item-active'],
props: {
items: {
type: Array as PropType<TabItem[]>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
</template>

<script setup lang="ts">
import { nextTick, onMounted, onUnmounted, ref, watch, type PropType, defineEmits } from "vue";
import { nextTick, onMounted, onUnmounted, ref, watch, type PropType } from "vue";
import { useModalContext } from "./composables/useModalContext";
import MtIcon from "@/components/icons-media/mt-icon/mt-icon.vue";
import MtModalClose from "./sub-components/mt-modal-close.vue";
Expand Down

0 comments on commit 36e0812

Please sign in to comment.