Skip to content

Commit

Permalink
fix(README): Fix typo in markRaw import
Browse files Browse the repository at this point in the history
  • Loading branch information
cernymatej authored Apr 26, 2024
1 parent 45df979 commit 6a0b916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ You can pass a Vue Component as the first argument instead of a string to render

```html
<script lang="ts" setup>
import { defineComponent, h, makeRaw } from 'vue'
import { defineComponent, h, markRaw } from 'vue'
const CustomDiv = defineComponent({
setup() {
Expand All @@ -233,7 +233,7 @@ You can pass a Vue Component as the first argument instead of a string to render
}
})
toast(makeRaw(CustomDiv))
toast(markRaw(CustomDiv))
</script>
```

Expand Down

0 comments on commit 6a0b916

Please sign in to comment.