Skip to content

Commit

Permalink
fix: update
Browse files Browse the repository at this point in the history
  • Loading branch information
btea committed Sep 8, 2024
1 parent b21602b commit ac87f59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Repl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ if (!props.editor) {
throw new Error('The "editor" prop is now required.')
}
const outputRef = useTemplateRef<typeof Output>('output')
const outputRef = useTemplateRef('output')
props.store.init()
Expand Down
2 changes: 1 addition & 1 deletion src/codemirror/CodeMirror.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const props = withDefaults(defineProps<Props>(), {
const emit = defineEmits<(e: 'change', value: string) => void>()
const el = useTemplateRef<HTMLElement>('container')
const el = useTemplateRef('container')
const { autoResize, autoSave } = inject(injectKeyProps)!
let editor: CodeMirror.Editor
Expand Down

0 comments on commit ac87f59

Please sign in to comment.