Skip to content

Commit fdb48bb

Browse files
committed
fix: build error
1 parent e284f48 commit fdb48bb

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

apps/desktop/src/components/EditorArea/EditorInfoBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ ${res}
205205
inputProps: {
206206
placeholder: t('placeholder.translate'),
207207
},
208-
onConfirm: (val) => {
208+
onConfirm: (val: string) => {
209209
if (!val) {
210210
return
211211
}

apps/desktop/src/components/EditorArea/editorToolBar/WysiwygToolbar/components/AIButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ ${res}
8686
inputProps: {
8787
placeholder: t('placeholder.translate'),
8888
},
89-
onConfirm: (val) => {
89+
onConfirm: (val: string) => {
9090
if (!val) {
9191
return
9292
}

turbo.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"dependsOn": ["^postinstall"]
88
},
99
"build": {
10-
"dependsOn": ["^build"]
10+
"dependsOn": ["^build"],
11+
"outputs": ["dist/**", "build/**", ".next/**", "!.next/cache/**"]
1112
},
1213
"deploy": {
1314
"dependsOn": ["build", "test", "lint"]

0 commit comments

Comments
 (0)