kopia lustrzana https://github.com/mifi/lossless-cut
fix bug
rodzic
aacfe02d49
commit
e155af886a
|
@ -2305,9 +2305,9 @@ const App = memo(() => {
|
||||||
|
|
||||||
const actionsWithCatch = Object.entries(actions).map(([key, action]) => [
|
const actionsWithCatch = Object.entries(actions).map(([key, action]) => [
|
||||||
key,
|
key,
|
||||||
async () => {
|
async (...args) => {
|
||||||
try {
|
try {
|
||||||
await action();
|
await action(...args);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
handleError(err);
|
handleError(err);
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue