Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
567aa1b7
Unverified
Commit
567aa1b7
authored
Mar 19, 2024
by
Igor Stuev
Committed by
GitHub
Mar 19, 2024
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1727 from blockscout/fe-1726
fix react keys for withdrawals
parents
3699cb41
b123e5a1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
6 deletions
+10
-6
.env.optimism_goerli
configs/envs/.env.optimism_goerli
+3
-3
name.d.ts
public/icons/name.d.ts
+1
-1
OptimisticL2Withdrawals.tsx
ui/pages/OptimisticL2Withdrawals.tsx
+1
-1
OptimisticL2WithdrawalsTable.tsx
ui/withdrawals/optimisticL2/OptimisticL2WithdrawalsTable.tsx
+5
-1
No files found.
configs/envs/.env.optimism_goerli
View file @
567aa1b7
...
@@ -43,6 +43,6 @@ NEXT_PUBLIC_VISUALIZE_API_HOST=https://visualizer.services.blockscout.com
...
@@ -43,6 +43,6 @@ NEXT_PUBLIC_VISUALIZE_API_HOST=https://visualizer.services.blockscout.com
NEXT_PUBLIC_CONTRACT_INFO_API_HOST=https://contracts-info.services.blockscout.com
NEXT_PUBLIC_CONTRACT_INFO_API_HOST=https://contracts-info.services.blockscout.com
NEXT_PUBLIC_ADMIN_SERVICE_API_HOST=https://admin-rs.services.blockscout.com
NEXT_PUBLIC_ADMIN_SERVICE_API_HOST=https://admin-rs.services.blockscout.com
# rollup
# rollup
NEXT_PUBLIC_
IS_OPTIMISTIC_L2_NETWORK=true
NEXT_PUBLIC_
ROLLUP_TYPE='optimistic'
NEXT_PUBLIC_
OPTIMISTIC
_L2_WITHDRAWAL_URL=https://app.optimism.io/bridge/withdraw
NEXT_PUBLIC_
ROLLUP
_L2_WITHDRAWAL_URL=https://app.optimism.io/bridge/withdraw
NEXT_PUBLIC_L1_BASE_URL=https://eth-goerli.blockscout.com/
NEXT_PUBLIC_
ROLLUP_
L1_BASE_URL=https://eth-goerli.blockscout.com/
\ No newline at end of file
public/icons/name.d.ts
View file @
567aa1b7
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
|
"
block_slim
"
|
"
block_slim
"
|
"
block
"
|
"
block
"
|
"
brands/safe
"
|
"
brands/safe
"
|
"
brands/solidity_scan
"
|
"
burger
"
|
"
burger
"
|
"
check
"
|
"
check
"
|
"
clock-light
"
|
"
clock-light
"
...
@@ -113,7 +114,6 @@
...
@@ -113,7 +114,6 @@
|
"
social/telegram_filled
"
|
"
social/telegram_filled
"
|
"
social/tweet
"
|
"
social/tweet
"
|
"
social/twitter_filled
"
|
"
social/twitter_filled
"
|
"
solidity_scan
"
|
"
star_filled
"
|
"
star_filled
"
|
"
star_outline
"
|
"
star_outline
"
|
"
stats
"
|
"
stats
"
...
...
ui/pages/OptimisticL2Withdrawals.tsx
View file @
567aa1b7
...
@@ -39,7 +39,7 @@ const OptimisticL2Withdrawals = () => {
...
@@ -39,7 +39,7 @@ const OptimisticL2Withdrawals = () => {
<>
<>
<
Show
below=
"lg"
ssr=
{
false
}
>
{
data
.
items
.
map
(((
item
,
index
)
=>
(
<
Show
below=
"lg"
ssr=
{
false
}
>
{
data
.
items
.
map
(((
item
,
index
)
=>
(
<
OptimisticL2WithdrawalsListItem
<
OptimisticL2WithdrawalsListItem
key=
{
item
.
l2_tx_hash
+
(
isPlaceholderData
?
index
:
''
)
}
key=
{
String
(
item
.
msg_nonce_version
)
+
item
.
msg_nonce
+
(
isPlaceholderData
?
index
:
''
)
}
item=
{
item
}
item=
{
item
}
isLoading=
{
isPlaceholderData
}
isLoading=
{
isPlaceholderData
}
/>
/>
...
...
ui/withdrawals/optimisticL2/OptimisticL2WithdrawalsTable.tsx
View file @
567aa1b7
...
@@ -29,7 +29,11 @@ const OptimisticL2WithdrawalsTable = ({ items, top, isLoading }: Props) => {
...
@@ -29,7 +29,11 @@ const OptimisticL2WithdrawalsTable = ({ items, top, isLoading }: Props) => {
</
Thead
>
</
Thead
>
<
Tbody
>
<
Tbody
>
{
items
.
map
((
item
,
index
)
=>
(
{
items
.
map
((
item
,
index
)
=>
(
<
OptimisticL2WithdrawalsTableItem
key=
{
item
.
l2_tx_hash
+
(
isLoading
?
index
:
''
)
}
item=
{
item
}
isLoading=
{
isLoading
}
/>
<
OptimisticL2WithdrawalsTableItem
key=
{
String
(
item
.
msg_nonce_version
)
+
item
.
msg_nonce
+
(
isLoading
?
index
:
''
)
}
item=
{
item
}
isLoading=
{
isLoading
}
/>
))
}
))
}
</
Tbody
>
</
Tbody
>
</
Table
>
</
Table
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment