Skip to content

Commit 4b99443

Browse files
committed
Fix code block typing in solid docs
1 parent 2d3d070 commit 4b99443

File tree

1 file changed

+5
-5
lines changed
  • docs/src/routes/docs/[...3]modules/[...4]solid

1 file changed

+5
-5
lines changed

docs/src/routes/docs/[...3]modules/[...4]solid/+page.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Function to open the onboard modal and connect to a wallet provider. For referen
130130

131131
#### Example usage
132132

133-
```tsx
133+
```typescript
134134
function SampleConnect() {
135135
const { connectWallet } = useOnboard()
136136

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

145145
#### Example usage
146146

147-
```tsx
147+
```typescript
148148
function SampleConnect() {
149149
const { connectedChain } = useOnboard()
150150

@@ -157,7 +157,7 @@ Property that contains the latest connected wallet
157157
158158
#### Example usage
159159
160-
```tsx
160+
```typescript
161161
function SampleConnect() {
162162
const { connectedWallet } = useOnboard()
163163
return <span>Connected Wallet: {connectedWallet()?.label}</span>
@@ -170,7 +170,7 @@ Function to disconnect the `connectedWallet`
170170
171171
#### Example usage
172172
173-
```tsx
173+
```typescript
174174
import { useOnboard } from '@web3-onboard/solid'
175175
function SampleConnect() {
176176
const { disconnectConnectedWallet } = useOnboard()
@@ -189,7 +189,7 @@ Function that returns the current chain a wallet is connected to
189189
190190
#### Example usage
191191
192-
```tsx
192+
```typescript
193193
import { useOnboard } from '@web3-onboard/solid'
194194
function SampleConnect() {
195195
const { getChain } = useOnboard()

0 commit comments

Comments
 (0)