Fix pre-commit script to properly handle multiple files and resolve ESLint warnings
This commit is contained in:
@@ -97,7 +97,7 @@ const AuthPage: React.FC = () => {
|
||||
if (!success) {
|
||||
setError(`${provider} authentication failed. Please try again.`);
|
||||
}
|
||||
} catch (error) {
|
||||
} catch {
|
||||
setError(`${provider} authentication failed. Please try again.`);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user