fix: resolve all lint warnings in mobile and web apps

This commit is contained in:
2026-02-23 00:24:17 +03:00
parent d7278956fa
commit cbbea8a5dc
12 changed files with 20 additions and 9 deletions
+1
View File
@@ -35,6 +35,7 @@ export default function EmailVerification() {
} else if (token) {
verifyEmail(token);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [token, type]);
const verifyEmail = async (verifyToken: string) => {
+1
View File
@@ -194,6 +194,7 @@ export default function P2PDispute() {
return () => {
supabase.removeChannel(channel);
};
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [disputeId]);
const handleFileUpload = async (e: React.ChangeEvent<HTMLInputElement>) => {
+2
View File
@@ -158,6 +158,7 @@ export default function P2PTrade() {
} finally {
setLoading(false);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [tradeId]);
// Initial fetch
@@ -213,6 +214,7 @@ export default function P2PTrade() {
updateTimer();
const interval = setInterval(updateTimer, 1000);
return () => clearInterval(interval);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [trade?.payment_deadline, trade?.status]);
// Format time remaining