Skip to content

Commit efb9856

Browse files
fix
1 parent 3c8e53f commit efb9856

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.vitepress/pages/Playground.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,11 @@ import { ref, computed, useTemplateRef, nextTick, onMounted, watch, onUnmounted
7171
import { createHighlighterCore } from 'shiki/core';
7272
import type { HighlighterCore, LanguageRegistration } from 'shiki/core';
7373
import { createOnigurumaEngine } from 'shiki/engine/oniguruma';
74-
import { compressToEncodedURIComponent, decompressFromEncodedURIComponent } from 'lz-string';
74+
import lzString from 'lz-string';
7575
import { useThrottle } from '../scripts/throttle';
7676
77+
const { compressToEncodedURIComponent, decompressFromEncodedURIComponent } = lzString;
78+
7779
const fizzbuzz = `for (let i, 100) {
7880
\t<: if (i % 15 == 0) "FizzBuzz"
7981
\t\telif (i % 3 == 0) "Fizz"

0 commit comments

Comments
 (0)