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
b123e5a1
Commit
b123e5a1
authored
Mar 19, 2024
by
isstuev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix react keys for withdrawals
parent
9933b2a2
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 @
b123e5a1
...
...
@@ -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_ADMIN_SERVICE_API_HOST=https://admin-rs.services.blockscout.com
# rollup
NEXT_PUBLIC_
IS_OPTIMISTIC_L2_NETWORK=true
NEXT_PUBLIC_
OPTIMISTIC
_L2_WITHDRAWAL_URL=https://app.optimism.io/bridge/withdraw
NEXT_PUBLIC_L1_BASE_URL=https://eth-goerli.blockscout.com/
NEXT_PUBLIC_
ROLLUP_TYPE='optimistic'
NEXT_PUBLIC_
ROLLUP
_L2_WITHDRAWAL_URL=https://app.optimism.io/bridge/withdraw
NEXT_PUBLIC_
ROLLUP_
L1_BASE_URL=https://eth-goerli.blockscout.com/
\ No newline at end of file
public/icons/name.d.ts
View file @
b123e5a1
...
...
@@ -18,6 +18,7 @@
|
"
block_slim
"
|
"
block
"
|
"
brands/safe
"
|
"
brands/solidity_scan
"
|
"
burger
"
|
"
check
"
|
"
clock-light
"
...
...
@@ -113,7 +114,6 @@
|
"
social/telegram_filled
"
|
"
social/tweet
"
|
"
social/twitter_filled
"
|
"
solidity_scan
"
|
"
star_filled
"
|
"
star_outline
"
|
"
stats
"
...
...
ui/pages/OptimisticL2Withdrawals.tsx
View file @
b123e5a1
...
...
@@ -39,7 +39,7 @@ const OptimisticL2Withdrawals = () => {
<>
<
Show
below=
"lg"
ssr=
{
false
}
>
{
data
.
items
.
map
(((
item
,
index
)
=>
(
<
OptimisticL2WithdrawalsListItem
key=
{
item
.
l2_tx_hash
+
(
isPlaceholderData
?
index
:
''
)
}
key=
{
String
(
item
.
msg_nonce_version
)
+
item
.
msg_nonce
+
(
isPlaceholderData
?
index
:
''
)
}
item=
{
item
}
isLoading=
{
isPlaceholderData
}
/>
...
...
ui/withdrawals/optimisticL2/OptimisticL2WithdrawalsTable.tsx
View file @
b123e5a1
...
...
@@ -29,7 +29,11 @@ const OptimisticL2WithdrawalsTable = ({ items, top, isLoading }: Props) => {
</
Thead
>
<
Tbody
>
{
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
>
</
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