Skip to content

Commit

Permalink
docs(ol-overlay): removed .value from overlay, its undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
mwargan authored Jan 23, 2024
1 parent 8eb3559 commit 2d28de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/componentsguide/overlay/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ import type Overlay from "ol/Overlay";
const overlayRef = ref<{ overlay: Overlay }>(null);
onMounted(() => {
const overlay: Overlay = overlayRef.value?.overlay.value;
const overlay: Overlay = overlayRef.value?.overlay;
// call your method on `overlay`
});
</script>
Expand Down

0 comments on commit 2d28de3

Please sign in to comment.