Skip to content

Commit bc7263d

Browse files
committed
docs: multi-line code snippet for layout on mobile
1 parent 49f2923 commit bc7263d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/src/pages/guides/migrating-to-react-query-4.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,15 @@ You can easily apply it by using one (or both) of the following commands:
2828

2929
If you want to run it against `.js` or `.jsx` files, please use the command below:
3030

31-
`npx jscodeshift --extensions=js,jsx --transform=./node_modules/react-query/codemods/v4/key-transformation.js ./path/to/src/`
31+
```
32+
npx jscodeshift --extensions=js,jsx --transform=./node_modules/react-query/codemods/v4/key-transformation.js ./path/to/src/
33+
```
3234

3335
If you want to run it against `.ts` or `.tsx` files, please use the command below:
3436

35-
`npx jscodeshift --extensions=ts,tsx --parser=tsx --transform=./node_modules/react-query/codemods/v4/key-transformation.js ./path/to/src/`
37+
```
38+
npx jscodeshift --extensions=ts,tsx --parser=tsx --transform=./node_modules/react-query/codemods/v4/key-transformation.js ./path/to/src/
39+
```
3640

3741
Please note in the case of `TypeScript` you need to use `tsx` as the parser otherwise, the codemod won't be applied properly!
3842

0 commit comments

Comments
 (0)