Skip to content

Commit b5c67c6

Browse files
committed
Fix docs ESLint issues in version note and config
1 parent 777bf3d commit b5c67c6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

doc/components/home-version-note.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import process from 'node:process'
2+
13
export function HomeVersionNote() {
24
const version = process.env.NEXT_PUBLIC_MEMORY_SYNC_VERSION
35

@@ -7,7 +9,9 @@ export function HomeVersionNote() {
79

810
return (
911
<p className="home-version-note">
10-
Current version: <code>{version}</code>
12+
Current version:
13+
{' '}
14+
<code>{version}</code>
1115
</p>
1216
)
1317
}

doc/next.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {readFileSync} from 'node:fs'
21
import type {NextConfig} from 'next'
2+
import {readFileSync} from 'node:fs'
33
import nextra from 'nextra'
44

55
const mermaidAliasPath = '@/components/mermaid'

0 commit comments

Comments
 (0)