chore: don't name unused errors in catch expressions (#2591)
This commit is contained in:
@@ -59,7 +59,7 @@ const LoadingButton: React.FC<LoadingButtonProps> = ({
|
||||
setState('pending');
|
||||
try {
|
||||
await onClick(e);
|
||||
} catch (err) {
|
||||
} catch {
|
||||
// Do nothing
|
||||
} finally {
|
||||
if (componentMounted.current) {
|
||||
|
||||
Reference in New Issue
Block a user