Skip to content

Commit

Permalink
chore: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
beeman committed Mar 8, 2024
1 parent 908d201 commit e78f817
Show file tree
Hide file tree
Showing 28 changed files with 7 additions and 829 deletions.
8 changes: 3 additions & 5 deletions web/src/app/app-routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,14 @@ import { ClusterUiSelect } from './features/cluster/cluster-ui'
import { DashboardFeature } from './features/dashboard/dashboard-feature'
import { WalletIcon } from './features/solana/solana-provider'

const AccountList = lazy(() => import('./features/account/account-list-feature'))
const AccountDetail = lazy(() => import('./features/account/account-detail-feature'))
const AccountList = lazy(() => import('./features/account/account-feature-list'))
const AccountDetail = lazy(() => import('./features/account/account-feature-detail'))
const ClusterFeature = lazy(() => import('./features/cluster/cluster-feature'))

const links: UiHeaderLink[] = [
{ label: 'Dashboard', link: '/dashboard' },
{ label: 'Account', link: '/account' },
{ label: 'Demo', link: '/demo' },
{ label: 'Dev', link: '/dev' },
{ label: 'Themes', link: '/themes' },
{ label: 'Clusters', link: '/clusters' },
]
const routes: RouteObject[] = [
{ path: '/', element: <Navigate to="/dashboard" replace /> },
Expand Down
4 changes: 2 additions & 2 deletions web/src/app/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { UiThemeProvider } from '@pubkey-ui/core'
import '@pubkey-ui/core/index.esm.css'

import { QueryClient, QueryClientProvider } from '@tanstack/react-query'
import { AppRoutes } from './app-routes'
import { AppRoutes, ThemeLink } from './app-routes'
import { ClusterProvider } from './features/cluster/cluster-data-access'
import { SolanaProvider } from './features/solana/solana-provider'

Expand All @@ -11,7 +11,7 @@ const client = new QueryClient()
export function App() {
return (
<QueryClientProvider client={client}>
<UiThemeProvider>
<UiThemeProvider link={ThemeLink}>
<ClusterProvider>
<SolanaProvider>
<AppRoutes />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { ExplorerLink } from '../cluster/cluster-ui'

import { AccountBalance, AccountButtons, AccountTokens, AccountTransactions, ellipsify } from './account-ui'

export default function AccountDetailFeature() {
export default function AccountFeatureDetail() {
const params = useParams()
const address = useMemo(() => {
if (!params.address) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useWallet } from '@solana/wallet-adapter-react'
import { Navigate } from 'react-router-dom'
import { WalletButton } from '../solana/solana-provider'

export default function AccountListFeature() {
export default function AccountFeatureList() {
const { publicKey } = useWallet()

if (publicKey) {
Expand Down
16 changes: 0 additions & 16 deletions web/src/app/features/demo/demo-feature-alerts.tsx

This file was deleted.

16 changes: 0 additions & 16 deletions web/src/app/features/demo/demo-feature-anchor.tsx

This file was deleted.

9 changes: 0 additions & 9 deletions web/src/app/features/demo/demo-feature-back.tsx

This file was deleted.

12 changes: 0 additions & 12 deletions web/src/app/features/demo/demo-feature-card.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions web/src/app/features/demo/demo-feature-copy.tsx

This file was deleted.

57 changes: 0 additions & 57 deletions web/src/app/features/demo/demo-feature-dashboard-grid.tsx

This file was deleted.

15 changes: 0 additions & 15 deletions web/src/app/features/demo/demo-feature-debug.tsx

This file was deleted.

75 changes: 0 additions & 75 deletions web/src/app/features/demo/demo-feature-form.tsx

This file was deleted.

53 changes: 0 additions & 53 deletions web/src/app/features/demo/demo-feature-grid-routes.tsx

This file was deleted.

29 changes: 0 additions & 29 deletions web/src/app/features/demo/demo-feature-group.tsx

This file was deleted.

Loading

0 comments on commit e78f817

Please sign in to comment.