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

feat: ibc transfers #63

Merged
merged 11 commits into from
Mar 16, 2023
6 changes: 4 additions & 2 deletions wallet/src/components/BrandIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import Box from '@mui/material/Box';
import { icons, defaultIcon } from '../util/Icons';
import type { Petname } from '@agoric/smart-wallet/src/types';

interface Props {
brandPetname: string;
brandPetname: Petname;
}

const BrandIcon = ({ brandPetname }: Props) => {
const src = icons[brandPetname] ?? defaultIcon;
const src =
(typeof brandPetname === 'string' && icons[brandPetname]) || defaultIcon;

const icon = src ? (
<img alt="icon" src={src} height="32px" width="32px" />
Expand Down
Loading