From 16e2a75ca95d527da508497b5439d936a8c8d542 Mon Sep 17 00:00:00 2001 From: melonges Date: Mon, 4 Mar 2024 21:18:14 +0300 Subject: [PATCH 1/2] using `import` instead `require` in modern React tooling import statement is more preferable --- APP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/APP.md b/APP.md index 842fa68d6..b7a7df6f1 100644 --- a/APP.md +++ b/APP.md @@ -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'. From 96d0e7cb74f2a07cf0568963c15bb8d1e0fb4e80 Mon Sep 17 00:00:00 2001 From: melonges Date: Tue, 25 Jun 2024 13:18:29 +0300 Subject: [PATCH 2/2] Update APP.md Co-authored-by: Glitch <66949816+glitch-txs@users.noreply.github.com> --- APP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/APP.md b/APP.md index b7a7df6f1..db6c174ac 100644 --- a/APP.md +++ b/APP.md @@ -37,7 +37,7 @@ import { import { clusterApiUrl } from '@solana/web3.js'; // Default styles that can be overridden by your app -import('@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'.