Skip to content

Commit e43c155

Browse files
committed
chore(eslint): fix eslint errors
1 parent 852067a commit e43c155

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/pages/quotes/AcceptedQuotesPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function QuoteListAccepted() {
5656
<>{it.id}</>
5757
) : (
5858
<>
59-
<Link to={"/quotes/:id".replace(":id", it.id as string)}>{it.id}</Link>
59+
<Link to={"/quotes/:id".replace(":id", it.id)}>{it.id}</Link>
6060
</>
6161
)}
6262
</span>
@@ -65,7 +65,7 @@ function QuoteListAccepted() {
6565
size="sm"
6666
disabled={isFetching}
6767
onClick={() => {
68-
void navigate("/quotes/:id".replace(":id", it.id as string))
68+
void navigate("/quotes/:id".replace(":id", it.id))
6969
}}
7070
>
7171
View

src/pages/quotes/DeniedQuotesPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function QuoteListDenied() {
5656
<>{it.id}</>
5757
) : (
5858
<>
59-
<Link to={"/quotes/:id".replace(":id", it.id as string)}>{it.id}</Link>
59+
<Link to={"/quotes/:id".replace(":id", it.id)}>{it.id}</Link>
6060
</>
6161
)}
6262
</span>
@@ -65,7 +65,7 @@ function QuoteListDenied() {
6565
size="sm"
6666
disabled={isFetching}
6767
onClick={() => {
68-
void navigate("/quotes/:id".replace(":id", it.id as string))
68+
void navigate("/quotes/:id".replace(":id", it.id))
6969
}}
7070
>
7171
View

src/pages/quotes/OfferedQuotesPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function QuoteListOffered() {
5656
<>{it.id}</>
5757
) : (
5858
<>
59-
<Link to={"/quotes/:id".replace(":id", it.id as string)}>{it.id}</Link>
59+
<Link to={"/quotes/:id".replace(":id", it.id)}>{it.id}</Link>
6060
</>
6161
)}
6262
</span>
@@ -65,7 +65,7 @@ function QuoteListOffered() {
6565
size="sm"
6666
disabled={isFetching}
6767
onClick={() => {
68-
void navigate("/quotes/:id".replace(":id", it.id as string))
68+
void navigate("/quotes/:id".replace(":id", it.id))
6969
}}
7070
>
7171
View

0 commit comments

Comments
 (0)