Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
swuecho committed Nov 27, 2023
1 parent 26d3fd2 commit 3fbd6a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/store/modules/prompt/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const defaultChinesePromptList: PromptList = [
},
]

let defaultEnglishPromptList = [
let defaultEnglishPromptList: PromptList = [

{
"key": "Act as an English Translator and Improver",
Expand All @@ -124,7 +124,7 @@ let defaultEnglishPromptList = [

]

const defaultPromptMap = {
let defaultPromptMap: { [key: string]: Prompt[] } = {
'zh-CN': defaultChinesePromptList,
'zh-TW': defaultChinesePromptList,
'en-US': defaultEnglishPromptList,
Expand Down

0 comments on commit 3fbd6a6

Please sign in to comment.