Skip to content

Commit c01ad3e

Browse files
committed
fix: no need for this in template
1 parent 841f104 commit c01ad3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/VueLive.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<component :is="this.layout ? this.layout : VueLiveDefaultLayout">
2+
<component :is="layout ? layout : VueLiveDefaultLayout">
33
<template v-slot:editor>
44
<PrismEditor :code="stableCode" @change="updatePreview" :language="prismLang"/>
55
</template>

0 commit comments

Comments
 (0)