Skip to content

Commit

Permalink
Merge pull request #1082 from scroll-tech/sepolia
Browse files Browse the repository at this point in the history
merge sepolia into mainnet
  • Loading branch information
zzq0826 authored May 29, 2024
2 parents ecf4503 + 3558479 commit 4ba72b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scroll.io",
"version": "5.0.94",
"version": "5.0.95",
"private": false,
"license": "MIT",
"scripts": {
Expand Down
14 changes: 7 additions & 7 deletions src/pages/bridge/Send/SendTransaction/DepositSelector/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ import EconomyTooltip from "./EconomyTooltip"
type TransactionValue = bigint | null

const DEPOSIT_OPTIONS = [
{
title: "Fast ⚡️",
type: DepositBatchMode.Fast,
time: "20 min",
},
{
title: "Economy 💰",
type: DepositBatchMode.Economy,
time: "30 min ~ 1 hour",
},
{
title: "Fast ⚡️",
type: DepositBatchMode.Fast,
time: "20 min",
},
]

const useStyles = makeStyles()(theme => ({
Expand Down Expand Up @@ -100,7 +100,7 @@ const DepositSelector = props => {
const { isMobile } = useCheckViewport()
const { classes, cx } = useStyles()

const [selectedType, setSelectedType] = useState(DepositBatchMode.Fast)
const [selectedType, setSelectedType] = useState(DepositBatchMode.Economy)
const { isNetworkCorrect } = useBridgeStore()
const { changeDepositBatchMode, depositBatchMode } = useBatchBridgeStore()
const { tokenPrice } = useBridgeContext()
Expand Down Expand Up @@ -205,7 +205,7 @@ const DepositSelector = props => {
role="button"
tabIndex={0}
variant="outlined"
classes={{ root: cx(classes.cardRoot, !!idx && !isVaild && classes.invaildCard, selectedType === item.type && classes.selectedCard) }}
classes={{ root: cx(classes.cardRoot, !idx && !isVaild && classes.invaildCard, selectedType === item.type && classes.selectedCard) }}
onClick={() => handleSelect(item.type)}
>
{item.type === selectedType && <SvgIcon classes={{ root: classes.selectedIcon }} component={SelectedSvg} inheritViewBox></SvgIcon>}
Expand Down

0 comments on commit 4ba72b9

Please sign in to comment.