summaryrefslogtreecommitdiff
path: root/packages/renderers/vue/static-html.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/renderers/vue/static-html.js')
-rw-r--r--packages/renderers/vue/static-html.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/packages/renderers/vue/static-html.js b/packages/renderers/vue/static-html.js
index bd8c41c83..e623f1049 100644
--- a/packages/renderers/vue/static-html.js
+++ b/packages/renderers/vue/static-html.js
@@ -8,20 +8,20 @@ import { h, defineComponent } from 'vue';
*/
const StaticHtml = defineComponent({
props: {
- value: String
+ value: String,
},
setup({ value }) {
if (!value) return () => null;
- return () => h('astro-fragment', { innerHTML: value })
- }
-})
+ return () => h('astro-fragment', { innerHTML: value });
+ },
+});
-/**
- * Other frameworks have `shouldComponentUpdate` in order to signal
- * that this subtree is entirely static and will not be updated
- *
- * Fortunately, Vue is smart enough to figure that out without any
- * help from us, so this just works out of the box!
- */
+/**
+ * Other frameworks have `shouldComponentUpdate` in order to signal
+ * that this subtree is entirely static and will not be updated
+ *
+ * Fortunately, Vue is smart enough to figure that out without any
+ * help from us, so this just works out of the box!
+ */
export default StaticHtml;