Skip to content

Commit 7bd6944

Browse files
Fixed example with extra chars
1 parent 5c5caf8 commit 7bd6944

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/components/Sections/UsageSection.vue

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,9 @@ const componentCode = `<template>
4444
<\/template>
4545
4646
<script setup>
47-
const myCode = \`const foo = 'bar';
47+
const myCode = \`const foo = 'bar';
4848
49-
console.log(foo);
50-
\`;
49+
console.log(foo);
5150
<\/script>`;
5251
5352
const runCode = `<template>
@@ -61,10 +60,9 @@ const runCode = `<template>
6160
<\/template>
6261
6362
<script setup>
64-
const myCode = \`const foo = 'bar';
63+
const myCode = \`const foo = 'bar';
6564
66-
alert(foo);
67-
\`;
65+
alert(foo);
6866
<\/script>`;
6967
7068
function runMyCode() {

0 commit comments

Comments
 (0)