Skip to content

Commit

Permalink
Replace @solana/wallet-adapter-react-ui with @pubkeyapp/wallet-adapte…
Browse files Browse the repository at this point in the history
…r-mantine-ui
  • Loading branch information
beeman committed Dec 22, 2024
1 parent 22d18c7 commit 7032961
Show file tree
Hide file tree
Showing 5 changed files with 173 additions and 3,776 deletions.
1 change: 0 additions & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import '@mantine/dropzone/styles.css';
import '@mantine/carousel/styles.css';
import '@mantine/notifications/styles.css';
import '@mantine/code-highlight/styles.css';
import '@solana/wallet-adapter-react-ui/styles.css';
import { Providers } from '@/providers/Providers';

export const metadata = {
Expand Down
2 changes: 1 addition & 1 deletion components/Header/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Center, Container, Flex, Group, Image, Menu } from '@mantine/core';
import { IconChevronDown } from '@tabler/icons-react';
import { WalletMultiButton } from '@solana/wallet-adapter-react-ui';
import { WalletMultiButton } from '@pubkeyapp/wallet-adapter-mantine-ui';

import classes from './Header.module.css';
import { Env } from '@/providers/useEnv';
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@
"@metaplex-foundation/umi-signer-wallet-adapters": "^0.8.10",
"@next/bundle-analyzer": "^14.0.1",
"@particle-network/auth": "^1.3.0",
"@pubkeyapp/wallet-adapter-mantine-ui": "^2.3.0",
"@solana/spl-token": "^0.3.9",
"@solana/wallet-adapter-react": "^0.15.35",
"@solana/wallet-adapter-react-ui": "^0.9.34",
"@solana/wallet-adapter-wallets": "^0.19.25",
"@solana/web3.js": "^1.87.6",
"@tabler/icons-react": "^2.45.0",
"@tanstack/react-query": "^5.17.0",
Expand Down
3 changes: 1 addition & 2 deletions providers/Providers.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
'use client';

import { ConnectionProvider, WalletProvider } from '@solana/wallet-adapter-react';
import { PhantomWalletAdapter, SolflareWalletAdapter } from '@solana/wallet-adapter-wallets';
import { WalletModalProvider } from '@solana/wallet-adapter-react-ui';
import { WalletModalProvider } from '@pubkeyapp/wallet-adapter-mantine-ui';
import { ReactNode, useMemo, useState } from 'react';
import { Notifications } from '@mantine/notifications';
import { AppShell } from '@mantine/core';
Expand Down
Loading

0 comments on commit 7032961

Please sign in to comment.