Skip to content

Commit

Permalink
Fix runtime warning when the popup is not inside a marker.
Browse files Browse the repository at this point in the history
  • Loading branch information
francois2metz committed Sep 29, 2024
1 parent 0ab64a9 commit df2225b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/popup.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default defineComponent({
},
setup(props, { slots, emit, expose }) {
const map = inject(mapSymbol);
const marker = inject(markerSymbol);
const marker = inject(markerSymbol, undefined);
const root = ref();

const popup = new Popup(props);
Expand Down

0 comments on commit df2225b

Please sign in to comment.