Skip to content

Commit 15a9823

Browse files
committed
Fix docs
1 parent 3c510fa commit 15a9823

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ If you are using CSP rules for CSS files, you can pass `nonce` argument to the `
220220

221221
Show different images based on the current theme:
222222

223-
```jsx
223+
```ts
224224
import Image from "next/image";
225225
import { useMode } from "nextjs-darkmode/hooks";
226226

lib/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ If you are using CSP rules for CSS files, you can pass `nonce` argument to the `
220220

221221
Show different images based on the current theme:
222222

223-
```jsx
223+
```ts
224224
import Image from "next/image";
225225
import { useMode } from "nextjs-darkmode/hooks";
226226

0 commit comments

Comments
 (0)