diff --git a/docs/components/alert.tsx b/docs/components/alert.tsx index 7bf2237ca..752b49eab 100644 --- a/docs/components/alert.tsx +++ b/docs/components/alert.tsx @@ -1,4 +1,3 @@ -import React from 'react' import { Callout } from 'nextra-theme-docs' export const Alert = ({ children }) => { diff --git a/docs/components/info.tsx b/docs/components/info.tsx index a61e17fb2..9cae4b890 100644 --- a/docs/components/info.tsx +++ b/docs/components/info.tsx @@ -1,4 +1,3 @@ -import React from 'react' import { Callout } from 'nextra-theme-docs' export const Info = ({ children }) => { diff --git a/docs/components/logo.tsx b/docs/components/logo.tsx index 5d1175deb..5252b4442 100644 --- a/docs/components/logo.tsx +++ b/docs/components/logo.tsx @@ -1,5 +1,3 @@ -import React from 'react' - type Props = { src: string alt?: string diff --git a/docs/pages/_app.js b/docs/pages/_app.js index 19532b06e..3e7701bf0 100644 --- a/docs/pages/_app.js +++ b/docs/pages/_app.js @@ -1,9 +1,5 @@ import 'nextra-theme-docs/style.css' export default function Nextra({ Component, pageProps }) { - return ( - <> - - - ) + return } diff --git a/docs/pages/apis/pool.mdx b/docs/pages/apis/pool.mdx index 0a7dd1a43..a94baed7c 100644 --- a/docs/pages/apis/pool.mdx +++ b/docs/pages/apis/pool.mdx @@ -29,14 +29,14 @@ type Config = { idleTimeoutMillis?: number // maximum number of clients the pool should contain - // by default this is set to 10. There is some nuance to setting the maxium size of your pool. + // by default this is set to 10. There is some nuance to setting the maximum size of your pool. // see https://node-postgres.com/guides/pool-sizing for more information max?: number // minimum number of clients the pool should hold on to and _not_ destroy with the idleTimeoutMillis // this can be useful if you get very bursty traffic and want to keep a few clients around. // note: current the pool will not automatically create and connect new clients up to the min, it will - // only not evict and close clients except those which execeed the min count. + // only not evict and close clients except those which exceed the min count. // the default is 0 which disables this behavior. min?: number diff --git a/docs/pages/index.mdx b/docs/pages/index.mdx index 5a9011b01..bcaaaecd6 100644 --- a/docs/pages/index.mdx +++ b/docs/pages/index.mdx @@ -73,7 +73,7 @@ try { ### Pooling -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: +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: ```js import { Pool } from 'pg'