Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
9fb30d47
Commit
9fb30d47
authored
Jun 24, 2024
by
Timothy J. Baek
Browse files
fix
parent
345b3491
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/lib/components/common/CodeEditor.svelte
src/lib/components/common/CodeEditor.svelte
+2
-1
No files found.
src/lib/components/common/CodeEditor.svelte
View file @
9fb30d47
...
...
@@ -10,11 +10,12 @@
import { python } from '@codemirror/lang-python';
import { oneDark } from '@codemirror/theme-one-dark';
import { onMount, createEventDispatcher } from 'svelte';
import { onMount, createEventDispatcher
, getContext
} from 'svelte';
import { formatPythonCode } from '$lib/apis/utils';
import { toast } from 'svelte-sonner';
const dispatch = createEventDispatcher();
const $i18n = getContext('i18n');
export let boilerplate = '';
export let value = '';
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment