chore: don't name unused errors in catch expressions (#2591)

This commit is contained in:
Braden MacDonald
2025-11-12 18:11:22 -05:00
committed by GitHub
parent a5d65abea2
commit e10ab270dd
50 changed files with 110 additions and 110 deletions

View File

@@ -224,7 +224,7 @@ const ItemReviewList = ({
messages.updateSingleBlockSuccess,
{ name: info.displayName },
));
} catch (e) {
} catch {
showToast(intl.formatMessage(previewChangesMessages.acceptChangesFailure));
}
}, []);
@@ -243,7 +243,7 @@ const ItemReviewList = ({
messages.ignoreSingleBlockSuccess,
{ name: blockData.displayName },
));
} catch (e) {
} catch {
showToast(intl.formatMessage(previewChangesMessages.ignoreChangesFailure));
} finally {
closeConfirmModal();