p.proposer)} />
+ )
)}
From fe5dd59c8ddf11ac15678cfec10ec391ab1f2538 Mon Sep 17 00:00:00 2001
From: cryptoseneca <85328329+cryptoseneca@users.noreply.github.com>
Date: Tue, 16 Jan 2024 17:06:20 -0500
Subject: [PATCH 2/2] silene warnings
---
.../src/components/ActivityFeed/index.tsx | 2 +-
.../src/components/JumboRoundCard/index.tsx | 4 ++--
.../src/components/LoadingCards/index.tsx | 4 ++--
.../prop-house-webapp/src/pages/Dashboard/index.tsx | 10 +++++-----
4 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/packages/prop-house-webapp/src/components/ActivityFeed/index.tsx b/packages/prop-house-webapp/src/components/ActivityFeed/index.tsx
index a27082c20..ab0f49934 100644
--- a/packages/prop-house-webapp/src/components/ActivityFeed/index.tsx
+++ b/packages/prop-house-webapp/src/components/ActivityFeed/index.tsx
@@ -110,7 +110,7 @@ const ActivityFeed: React.FC<{}> = () => {
{!activity
? Array(10)
.fill(0)
- .map(i => )
+ .map((_, i) => )
: activity.map((item, i) => {
return (
diff --git a/packages/prop-house-webapp/src/components/JumboRoundCard/index.tsx b/packages/prop-house-webapp/src/components/JumboRoundCard/index.tsx
index 83ab9a4b8..7d18b5fe3 100644
--- a/packages/prop-house-webapp/src/components/JumboRoundCard/index.tsx
+++ b/packages/prop-house-webapp/src/components/JumboRoundCard/index.tsx
@@ -241,8 +241,8 @@ const JumboRoundCard: React.FC<{
<>
{Array(4)
.fill(0)
- .map(() => (
-
+ .map((_, i) => (
+
))}
>
) : (
diff --git a/packages/prop-house-webapp/src/components/LoadingCards/index.tsx b/packages/prop-house-webapp/src/components/LoadingCards/index.tsx
index 6ccf86c47..282044819 100644
--- a/packages/prop-house-webapp/src/components/LoadingCards/index.tsx
+++ b/packages/prop-house-webapp/src/components/LoadingCards/index.tsx
@@ -26,8 +26,8 @@ export const JumboCardLoading = () => {
style={{ marginBottom: '12px', marginTop: isMobile() ? '30px' : '0px' }}
/>
- {Array.from(Array(3).keys()).map(i => (
-
+ {Array.from(Array(3).keys()).map((_, i) => (
+
))}
diff --git a/packages/prop-house-webapp/src/pages/Dashboard/index.tsx b/packages/prop-house-webapp/src/pages/Dashboard/index.tsx
index a52735399..6a0b930c6 100644
--- a/packages/prop-house-webapp/src/pages/Dashboard/index.tsx
+++ b/packages/prop-house-webapp/src/pages/Dashboard/index.tsx
@@ -107,8 +107,8 @@ const Dashboard = () => {
{loadingHouses ? (
<>
- {Array.from(Array(isMobile() ? 2 : 3).keys()).map(i => (
-
+ {Array.from(Array(isMobile() ? 2 : 3).keys()).map((_, i) => (
+
))}
@@ -117,8 +117,8 @@ const Dashboard = () => {
emptyIndicatorContent('houses')
) : (
houses &&
- houses.map(house => (
-
+ houses.map((house, i) => (
+
))
@@ -130,7 +130,7 @@ const Dashboard = () => {
{loadingRounds ? (
<>
- {Array.from(Array(2).keys()).map(i => (
+ {Array.from(Array(2).keys()).map((_, i) => (