summaryrefslogtreecommitdiff
path: root/apps/web/app/(auth)/reset-password
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-02-10 00:12:25 -0800
committerFuwn <[email protected]>2026-02-10 00:12:25 -0800
commit32219ec9656e7f46e516c7c41c133133d008e9a4 (patch)
treee335fa4b2e32f562b0861cd02a1abe618e8cb6b9 /apps/web/app/(auth)/reset-password
parentfix: P2 security hardening and tier limit parity (diff)
downloadasa.news-32219ec9656e7f46e516c7c41c133133d008e9a4.tar.xz
asa.news-32219ec9656e7f46e516c7c41c133133d008e9a4.zip
fix: reduce lint warnings from 34 to 0
Disable no-img-element (RSS reader needs <img> for arbitrary external URLs). Remove unused variables/imports and redundant getUser() calls guarded by middleware. Fix exhaustive-deps by adding stable deps, wrapping handlers in useCallback, and suppressing intentional omissions. Fix ref cleanup in use-realtime-entries. Allow triple-slash TS reference directives in no-comments rule.
Diffstat (limited to 'apps/web/app/(auth)/reset-password')
-rw-r--r--apps/web/app/(auth)/reset-password/page.tsx2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/web/app/(auth)/reset-password/page.tsx b/apps/web/app/(auth)/reset-password/page.tsx
index cb7432a..e33bfe6 100644
--- a/apps/web/app/(auth)/reset-password/page.tsx
+++ b/apps/web/app/(auth)/reset-password/page.tsx
@@ -2,7 +2,6 @@
import { useState } from "react"
import Link from "next/link"
-import { useRouter } from "next/navigation"
import { createSupabaseBrowserClient } from "@/lib/supabase/client"
export default function ResetPasswordPage() {
@@ -11,7 +10,6 @@ export default function ResetPasswordPage() {
const [errorMessage, setErrorMessage] = useState<string | null>(null)
const [isSubmitting, setIsSubmitting] = useState(false)
const [isPasswordUpdated, setIsPasswordUpdated] = useState(false)
- const router = useRouter()
async function handlePasswordUpdate(event: React.FormEvent) {
event.preventDefault()