fix: 修复SuggestionList展示错误的问题;git忽略proofshot的内容
This commit is contained in:
parent
1e981dc459
commit
927830198c
|
|
@ -48,6 +48,7 @@ sandbox_image_cache.tar
|
|||
frontend/imports
|
||||
frontend/test-results
|
||||
frontend/.cache
|
||||
proofshot-artifacts
|
||||
|
||||
# ignore the legacy `web` folder
|
||||
web/
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue