From 689a3d1faf491aa83b47faef179ba8e90704d3f5 Mon Sep 17 00:00:00 2001 From: melonges Date: Wed, 26 Jun 2024 17:38:38 +0300 Subject: [PATCH] docs: using `import` instead `require` (#919) * using `import` instead `require` in modern React tooling import statement is more preferable * Update APP.md Co-authored-by: Glitch <66949816+glitch-txs@users.noreply.github.com> --------- 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 bc5a90267..1868a7cd5 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'.