Skip to content

Commit

Permalink
Added icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Buzzec committed Sep 7, 2024
1 parent 589482a commit 3e9eb9c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 2 additions & 0 deletions packages/wallet-standard-test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<head>
<meta charset="utf-8"/>
<title>Star Atlas Wallet Test</title>
<link rel="icon" href="src/components/icons/icon-small.png" sizes="32x32"/>
<link rel="icon" href="src/components/icons/icon-large.png" sizes="128x128"/>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 10 additions & 7 deletions packages/wallet-standard-test/src/features/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,22 @@ import {
StandardEvents,
StandardEventsFeature,
} from '@wallet-standard/features';
import { Component, ErrorBoundary, For, Match, Switch } from 'solid-js';
import { Component, ErrorBoundary, For, lazy, Match, Switch } from 'solid-js';
import { Button } from '~/components/ui/button';
import {
Popover,
PopoverContent,
PopoverTrigger,
} from '~/components/ui/popover';
import EventsFeature from '~/features/EventsFeature';
import SignAndSendTransactionFeature from '~/features/SignAndSendTransactionFeature';
import SignMessageFeature from '~/features/SignMessageFeature';
import SignTransactionFeature from '~/features/SignTransactionFeature';
import ConnectFeature from './ConnectFeature';
import DisconnectFeature from './DisconnectFeature';

const EventsFeature = lazy(() => import('./EventsFeature'));
const SignAndSendTransactionFeature = lazy(
() => import('./SignAndSendTransactionFeature'),
);
const SignMessageFeature = lazy(() => import('./SignMessageFeature'));
const SignTransactionFeature = lazy(() => import('./SignTransactionFeature'));
const ConnectFeature = lazy(() => import('./ConnectFeature'));
const DisconnectFeature = lazy(() => import('./DisconnectFeature'));

export type FeatureProps<F extends Wallet['features']> = {
wallet: WalletProxy<F>;
Expand Down

0 comments on commit 3e9eb9c

Please sign in to comment.