diff --git a/src/routes/(app)/prompts/+page.svelte b/src/routes/(app)/prompts/+page.svelte index 18cd1112..bb072677 100644 --- a/src/routes/(app)/prompts/+page.svelte +++ b/src/routes/(app)/prompts/+page.svelte @@ -5,8 +5,10 @@ import { onMount } from 'svelte'; import { prompts } from '$lib/stores'; - import { deletePromptByCommand, getPrompts } from '$lib/apis/prompts'; + import { createNewPrompt, deletePromptByCommand, getPrompts } from '$lib/apis/prompts'; + import { error } from '@sveltejs/kit'; + let importFiles = ''; let query = ''; const sharePrompt = async (prompt) => { @@ -174,10 +176,43 @@