fix lint
This commit is contained in:
@@ -449,7 +449,9 @@ export function CommitWorkspace({
|
|||||||
toast.success(t("toasts.addedToVcs"), { description: file })
|
toast.success(t("toasts.addedToVcs"), { description: file })
|
||||||
void loadStatus()
|
void loadStatus()
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
toast.error(t("toasts.addToVcsFailed"), { description: toErrorMessage(err) })
|
toast.error(t("toasts.addToVcsFailed"), {
|
||||||
|
description: toErrorMessage(err),
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[folderPath, loadStatus, t]
|
[folderPath, loadStatus, t]
|
||||||
@@ -617,7 +619,9 @@ export function CommitWorkspace({
|
|||||||
toast.success(t("toasts.addedToVcs"), { description: label })
|
toast.success(t("toasts.addedToVcs"), { description: label })
|
||||||
void loadStatus()
|
void loadStatus()
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
toast.error(t("toasts.addToVcsFailed"), { description: toErrorMessage(err) })
|
toast.error(t("toasts.addToVcsFailed"), {
|
||||||
|
description: toErrorMessage(err),
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[folderPath, loadStatus, t]
|
[folderPath, loadStatus, t]
|
||||||
|
|||||||
Reference in New Issue
Block a user