From 3941d80ff120238b973451325b834ebd8377281e Mon Sep 17 00:00:00 2001
From: Biswa Kalyan Bhuyan <biswa@surgot.in>
Date: Sat, 26 Apr 2025 01:20:12 +0530
Subject: finance/frontend: fix: fixed lint error's

---
 frontend/src/app/(auth)/signup/page.tsx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'frontend/src/app/(auth)/signup/page.tsx')

diff --git a/frontend/src/app/(auth)/signup/page.tsx b/frontend/src/app/(auth)/signup/page.tsx
index cd9daab..1c77a1a 100644
--- a/frontend/src/app/(auth)/signup/page.tsx
+++ b/frontend/src/app/(auth)/signup/page.tsx
@@ -47,8 +47,9 @@ export default function SignupPage() {
       setTimeout(() => {
         router.push('/login?signup=success');
       }, 1500);
-    } catch (err: any) {
-      setError(err.message || 'Signup failed');
+    } catch (err: Error | unknown) {
+      const errorMessage = err instanceof Error ? err.message : 'Signup failed';
+      setError(errorMessage);
     } finally {
       setIsLoading(false);
     }
-- 
cgit v1.2.3-59-g8ed1b

