Skip to content

Commit

Permalink
using import instead require
Browse files Browse the repository at this point in the history
in modern React tooling import statement is more preferable
  • Loading branch information
melonges authored Mar 4, 2024
1 parent 8669528 commit 16e2a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion APP.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import {
import { clusterApiUrl } from '@solana/web3.js';

// Default styles that can be overridden by your app
require('@solana/wallet-adapter-react-ui/styles.css');
import('@solana/wallet-adapter-react-ui/styles.css');

export const Wallet: FC = () => {
// The network can be set to 'devnet', 'testnet', or 'mainnet-beta'.
Expand Down

0 comments on commit 16e2a75

Please sign in to comment.