Skip to content

Commit

Permalink
chore: minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ap211unitech committed Jun 24, 2024
1 parent a9fc8c9 commit 3c176c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/hestia/src/components/sendAndReceive/selectNetwork.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const SelectNetwork = ({
onSelectChain,
}: {
allChains: ChainType[];
selectedChain: ChainType;
selectedChain: ChainType | null;
onSelectChain: (chain: ChainType) => void;
}) => {
const [open, setOpen] = useState(false);
Expand All @@ -34,9 +34,9 @@ export const SelectNetwork = ({
>
<div>
<div className="flex items-center gap-2">
<Chain name={selectedChain.name} />
<Chain name={selectedChain?.name || ""} />
<Typography.Text size="lg" bold>
{selectedChain.name ?? "Select"}
{selectedChain?.name ?? "Select"}
</Typography.Text>
</div>
<RiArrowDownSLine className="w-4 h-4" />
Expand Down

0 comments on commit 3c176c7

Please sign in to comment.