Skip to content

Commit 77b20d5

Browse files
maxproskendom91
andauthored
chore(docs): clean up missing npm2yarn and other formatting (#11041)
Co-authored-by: Nico Domino <[email protected]>
1 parent 8332c6f commit 77b20d5

40 files changed

+48
-50
lines changed

docs/app/api/og/route.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ImageResponse } from "next/og"
2-
import { type NextRequest } from "next/server"
2+
import type { NextRequest } from "next/server"
33

44
export const runtime = "edge"
55

docs/components/Code/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { useThemeConfig } from "nextra-theme-docs"
22
import { useRouter } from "next/router"
33
import { Tabs } from "nextra/components"
4-
import React, { Children, ReactNode, useEffect, useState } from "react"
4+
import React, { Children, useEffect, useState } from "react"
55

66
interface ChildrenProps {
7-
children: ReactNode
7+
children: React.ReactNode
88
}
99

1010
const AUTHJS_TAB_KEY = "authjs.codeTab.framework"

docs/components/DocSearch/searchInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useState, useRef } from "react"
1+
import { useState, useRef } from "react"
22
import {
33
useInstantSearch,
44
useSearchBox,

docs/components/Link/index.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 { ChildrenProps } from "../../utils/types"
32

43
export function Link({

docs/components/ListDisclosure/index.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 { useListDisclosure } from "./useListDisclosure"
32
import cx from "classnames"
43

docs/components/OAuthProviderInstructions/content/components/StepTitle.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
import { ReactNode } from "react"
2-
31
interface Props {
4-
children: ReactNode
2+
children: React.ReactNode
53
}
64

75
export function StepTitle({ children }: Props) {

docs/components/Tooltip/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useRef } from "react"
1+
import { useRef } from "react"
22
import polyfill from "@oddbird/css-anchor-positioning/fn"
33

44
interface Props {

docs/pages/getting-started/adapters/azure-tables.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { Code } from "@/components/Code"
1111

1212
## Resources
1313

14-
- [Azure Tables](https://azure.microsoft.com/en-us/products/storage/tables)
14+
- [Azure Tables documentation](https://azure.microsoft.com/en-us/products/storage/tables)
1515

1616
## Setup
1717

docs/pages/getting-started/adapters/d1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Code } from "@/components/Code"
77

88
## Resources
99

10-
- [Cloudflare D1](https://developers.cloudflare.com/d1/)
10+
- [Cloudflare D1 documentation](https://developers.cloudflare.com/d1/)
1111

1212
## Setup
1313

docs/pages/getting-started/adapters/dgraph.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Code } from "@/components/Code"
77

88
## Resources
99

10-
- [Dgraph Docs](https://dgraph.io/docs)
10+
- [Dgraph documentation](https://dgraph.io/docs)
1111

1212
## Setup
1313

0 commit comments

Comments
 (0)