Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some fixes #242

Merged
merged 5 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/assets/networks/relay/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const getIcon = (network: NetworkType) => {
case NetworkType.WESTEND:
return Westend;
default:
Polkadot;
return Polkadot;
}
};

Expand Down
10 changes: 7 additions & 3 deletions src/components/Transfer/transferActions.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import ArrowDownward from '@mui/icons-material/ArrowDownwardOutlined';
import { Box, Paper, Stack, Typography } from '@mui/material';
import { AmountInput, Button } from '@region-x/components';
import Image from 'next/image';
import { useRouter } from 'next/router';

import { getIcon } from '@/assets/networks';
Expand Down Expand Up @@ -106,9 +107,12 @@ const TransferActions = () => {
value: symbol,
label: symbol,
icon: (
<img
src={getIcon(network)?.src}
style={{ width: '28px', height: '28px', padding: '4px' }}
<Image
src={getIcon(network)}
alt=''
width={28}
height={28}
style={{ padding: '4px ' }}
/>
),
},
Expand Down
5 changes: 4 additions & 1 deletion src/pages/paras/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@ const ParachainManagement = () => {
</Typography>
</Box>
<Box sx={{ display: 'flex', gap: '1.5rem', height: '2.75rem' }}>
<Button color='yellowDark' onClick={() => watchAllParas((prev) => !prev)}>
<Button
color={watchAll ? 'yellowDark' : 'greenPrimary'}
onClick={() => watchAllParas((prev) => !prev)}
>
Watchlist Only
</Button>
<Button onClick={() => openReserveModal(true)}>Reserve New Para</Button>
Expand Down
Loading