chore: don't name unused errors in catch expressions (#2591)
This commit is contained in:
@@ -100,7 +100,7 @@ const ManageOrgsModal = ({
|
||||
if (setToastMessage) {
|
||||
setToastMessage(intl.formatMessage(messages.assignOrgsSuccess));
|
||||
}
|
||||
} catch (error) {
|
||||
} catch {
|
||||
// ToDo: display the error to the user
|
||||
} finally {
|
||||
enableDialog();
|
||||
|
||||
Reference in New Issue
Block a user