Skip to content

Commit

Permalink
Fix code block typing in solid docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamj1232 committed Oct 25, 2023
1 parent 2d3d070 commit 4b99443
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/src/routes/docs/[...3]modules/[...4]solid/+page.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Function to open the onboard modal and connect to a wallet provider. For referen

#### Example usage

```tsx
```typescript
function SampleConnect() {
const { connectWallet } = useOnboard()

Expand All @@ -144,7 +144,7 @@ Property that contains the current chain to which `connectedChain` is connected

#### Example usage

```tsx
```typescript
function SampleConnect() {
const { connectedChain } = useOnboard()

Expand All @@ -157,7 +157,7 @@ Property that contains the latest connected wallet
#### Example usage
```tsx
```typescript
function SampleConnect() {
const { connectedWallet } = useOnboard()
return <span>Connected Wallet: {connectedWallet()?.label}</span>
Expand All @@ -170,7 +170,7 @@ Function to disconnect the `connectedWallet`
#### Example usage
```tsx
```typescript
import { useOnboard } from '@web3-onboard/solid'
function SampleConnect() {
const { disconnectConnectedWallet } = useOnboard()
Expand All @@ -189,7 +189,7 @@ Function that returns the current chain a wallet is connected to
#### Example usage
```tsx
```typescript
import { useOnboard } from '@web3-onboard/solid'
function SampleConnect() {
const { getChain } = useOnboard()
Expand Down

0 comments on commit 4b99443

Please sign in to comment.