diff --git a/.gitignore b/.gitignore index edeb6a84..8c02b6b0 100644 --- a/.gitignore +++ b/.gitignore @@ -48,6 +48,7 @@ sandbox_image_cache.tar frontend/imports frontend/test-results frontend/.cache +proofshot-artifacts # ignore the legacy `web` folder web/ diff --git a/frontend/src/components/workspace/input-box.tsx b/frontend/src/components/workspace/input-box.tsx index 0a2de157..ecb32806 100644 --- a/frontend/src/components/workspace/input-box.tsx +++ b/frontend/src/components/workspace/input-box.tsx @@ -508,11 +508,7 @@ function SuggestionList({ }) { const { t } = useI18n(); const { textInput } = usePromptInputController(); - const searchParams = useSearchParams(); - const suggestions = - searchParams.get("mode") === "skill" - ? t.inputBox.suggestions - : t.inputBox.suggestionsCreate; + const suggestions =t.inputBox.suggestions const promptSuggestions = suggestions.filter( ( suggestion,