mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-10 01:04:46 +08:00
feat: update surprise-me functionality with localization support
This commit is contained in:
@@ -392,9 +392,9 @@ function SuggestionList() {
|
||||
className="text-muted-foreground cursor-pointer rounded-full px-4 text-xs font-normal"
|
||||
variant="outline"
|
||||
size="sm"
|
||||
onClick={() => handleSuggestionClick("Surprise me")}
|
||||
onClick={() => handleSuggestionClick(t.inputBox.surpriseMePrompt)}
|
||||
>
|
||||
<SparklesIcon className="size-4" /> Surprise
|
||||
<SparklesIcon className="size-4" /> {t.inputBox.surpriseMe}
|
||||
</ConfettiButton>
|
||||
{t.inputBox.suggestions.map((suggestion) => (
|
||||
<Suggestion
|
||||
|
||||
Reference in New Issue
Block a user