Skip to content

Commit 7337172

Browse files
committed
p -> div
1 parent 654960f commit 7337172

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

src/scss/custom.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ ol {
370370
.collapsibleContent_i85q {
371371
padding-top: 0 !important;
372372

373-
> p {
373+
> div {
374374
font-weight: normal;
375375
}
376376
}

wallet/how-to/send-transactions/send-batch-transactions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ If you don't specify any chain IDs in `wallet_getCapabilities`, MetaMask will re
8989

9090
<details>
9191
<summary>Supported networks</summary>
92-
<p>
92+
<div>
9393
MetaMask currently supports atomic batch transactions on the following networks:
9494

9595
- Ethereum Mainnet
@@ -101,7 +101,7 @@ MetaMask currently supports atomic batch transactions on the following networks:
101101
- Base
102102

103103
MetaMask will support this feature on more networks as they adopt EIP-7702.
104-
</p>
104+
</div>
105105
</details>
106106

107107
:::note Atomic batch unsupported

wallet/tutorials/react-dapp-global-state.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -498,8 +498,8 @@ will still execute.
498498
:::
499499
500500
<details>
501-
<summary><b>Use of `useCallback`</b></summary>
502-
<p>
501+
<summary>Use of `useCallback`</summary>
502+
<div>
503503
Both of the previous functions use `useCallback`.
504504
It is used to memoize the `connectWallet` function, optimize performance, and prevent unnecessary re-renders.
505505
It ensures the function instance remains consistent between renders if its dependencies are changed.
@@ -514,8 +514,7 @@ re-renders of child components.
514514
Although `useCallback` is not necessary, it demonstrates best practices.
515515
Predicting how a context provider will be used or how the dapp might change or scale is difficult.
516516
Using `useCallback` can improve performance in some cases by reducing unnecessary re-renders.
517-
518-
</p>
517+
</div>
519518
</details>
520519
521520
Add the following code to `src/hooks/WalletProvider.tsx` to bundle the state and functions using `contextValue`:

0 commit comments

Comments
 (0)