mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-08 12:20:15 +08:00
fixup: i18n for prompts
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { create } from "zustand";
|
||||
import { persist } from "zustand/middleware";
|
||||
import Fuse from "fuse.js";
|
||||
import { showToast } from "../components/ui-lib";
|
||||
|
||||
export interface Prompt {
|
||||
id?: number;
|
||||
@@ -111,7 +110,6 @@ export const usePromptStore = create<PromptStore>()(
|
||||
);
|
||||
SearchService.count.builtin = res.en.length + res.cn.length;
|
||||
SearchService.init(allPromptsForSearch);
|
||||
showToast(`已加载 ${allPromptsForSearch.length} 条 Prompts`);
|
||||
});
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user