1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-04-23 06:28:07 +00:00

Merge pull request from overleaf/ta-file-create-error-fix

[ReactFileTree] Fix Error Handling on File Create

GitOrigin-RevId: 42b670b9a4011b53d193f9973bc6bc116607b469
This commit is contained in:
Eric Mc Sween 2021-01-14 08:56:54 -05:00 committed by Copybot
parent 4a83631388
commit 4d6d4f7f5b

View file

@ -282,7 +282,7 @@ export function useFileTreeActionable() {
new CustomEvent('FileTreeReactBridge.openNewFileModal', {
detail: {
error: true,
data: error.info.responseBody
data: error.message
}
})
)