Skip to content

Commit dc5a761

Browse files
committed
fixup! feat(dref-translation): add final report confirmation modal
1 parent c8ffb35 commit dc5a761

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/src/components/domain/GoMultiFileInput/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ function GoMultiFileInput<T extends NameType>(props: Props<T>) {
9797
formData: true,
9898
url,
9999
method: 'POST',
100+
useCurrentLanguageForMutation: true,
100101
body: (body: { files: File[] }) => {
101102
const formData = new FormData();
102103

app/src/components/domain/GoSingleFileInput/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ function GoSingleFileInput<T extends NameType>(props: Props<T>) {
8888
// FIXME: fix typing in server (low priority)
8989
// the server generated type for response and body is the same
9090
body: (body) => body as never,
91+
useCurrentLanguageForMutation: true,
9192
onSuccess: (response) => {
9293
const { id, file } = response;
9394
onChange(id, name);

0 commit comments

Comments
 (0)