style: fix unused variable warnings
Prefix unused error variables with underscore to indicate intentionally unused catch parameters.
This commit is contained in:
@@ -13,7 +13,7 @@ export default function SignIn() {
|
||||
try {
|
||||
await signOut()
|
||||
router.push("/")
|
||||
} catch (error) {
|
||||
} catch (_error) {
|
||||
toast.error("Failed to sign out. Please try again.")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user