Skip to content

Commit 9cf2184

Browse files
authored
refactor: remove unused import & fix typos in docs (#3471)
1 parent c9353ac commit 9cf2184

File tree

6 files changed

+4
-12
lines changed

6 files changed

+4
-12
lines changed

docs/components/alert.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react'
21
import { Callout } from 'nextra-theme-docs'
32

43
export const Alert = ({ children }) => {

docs/components/info.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react'
21
import { Callout } from 'nextra-theme-docs'
32

43
export const Info = ({ children }) => {

docs/components/logo.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import React from 'react'
2-
31
type Props = {
42
src: string
53
alt?: string

docs/pages/_app.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
import 'nextra-theme-docs/style.css'
22

33
export default function Nextra({ Component, pageProps }) {
4-
return (
5-
<>
6-
<Component {...pageProps} />
7-
</>
8-
)
4+
return <Component {...pageProps} />
95
}

docs/pages/apis/pool.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ type Config = {
2929
idleTimeoutMillis?: number
3030

3131
// maximum number of clients the pool should contain
32-
// by default this is set to 10. There is some nuance to setting the maxium size of your pool.
32+
// by default this is set to 10. There is some nuance to setting the maximum size of your pool.
3333
// see https://node-postgres.com/guides/pool-sizing for more information
3434
max?: number
3535

3636
// minimum number of clients the pool should hold on to and _not_ destroy with the idleTimeoutMillis
3737
// this can be useful if you get very bursty traffic and want to keep a few clients around.
3838
// note: current the pool will not automatically create and connect new clients up to the min, it will
39-
// only not evict and close clients except those which execeed the min count.
39+
// only not evict and close clients except those which exceed the min count.
4040
// the default is 0 which disables this behavior.
4141
min?: number
4242

docs/pages/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ try {
7373

7474
### Pooling
7575

76-
In most applications you'll wannt to use a [connection pool](/features/pooling) to manage your connections. This is a more advanced topic, but here's a simple example of how to use it:
76+
In most applications you'll want to use a [connection pool](/features/pooling) to manage your connections. This is a more advanced topic, but here's a simple example of how to use it:
7777

7878
```js
7979
import { Pool } from 'pg'

0 commit comments

Comments
 (0)