diff --git a/src/routes/App/App.svelte b/src/routes/App/App.svelte index c47078b..9fb4495 100644 --- a/src/routes/App/App.svelte +++ b/src/routes/App/App.svelte @@ -28,16 +28,6 @@ appState.settings = false; }; - const searchResultClicked = async (event: any) => { - await invoke('open_command', { path: event.target.id }); - const searchBarInput = document.getElementById( - 'searchBarInput' - ) as HTMLInputElement; - results = []; - searchBarInput.value = ''; - await appWindow.hide(); - }; - const search = async (searchPrompt: string) => { footerText = 'Loading...'; [results, executionTime, resultType] = await invoke('handle_input', { @@ -85,7 +75,7 @@ {#await appWindow.setSize(new LogicalSize(750, 100))}{/await} - +