File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
docs/src/routes/docs/[...3]modules/[...4]solid Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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
134134function 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
148148function 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
161161function 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
174174import { useOnboard } from ' @web3-onboard/solid'
175175function 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
193193import { useOnboard } from ' @web3-onboard/solid'
194194function SampleConnect() {
195195 const { getChain } = useOnboard ()
You can’t perform that action at this time.
0 commit comments