mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-22 22:32:01 -05:00
apply biome fix
This commit is contained in:
@@ -18,13 +18,6 @@ import { GenerateSecret } from "@/components/generate-secret";
|
||||
import { AddToCursor } from "@/components/mdx/add-to-cursor";
|
||||
import DatabaseTable from "@/components/mdx/database-tables";
|
||||
import { Callout } from "@/components/ui/callout";
|
||||
import {
|
||||
CodeBlock,
|
||||
CodeBlockTab,
|
||||
CodeBlockTabs,
|
||||
CodeBlockTabsList,
|
||||
Pre,
|
||||
} from "@/components/ui/code-block";
|
||||
import { AnimatePresence } from "@/components/ui/fade-in";
|
||||
import { source } from "@/lib/source";
|
||||
import { absoluteUrl, cn } from "@/lib/utils";
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import type { PageTree } from "fumadocs-core/server";
|
||||
import { SidebarProvider } from "fumadocs-ui/components/sidebar/base";
|
||||
import { TreeContextProvider } from "fumadocs-ui/contexts/tree";
|
||||
import type { HTMLAttributes, ReactNode } from "react";
|
||||
import { cn } from "../../lib/utils";
|
||||
import ArticleLayout from "../side-bar";
|
||||
import { NavProvider } from "./layout/nav";
|
||||
import type { BaseLayoutProps } from "./shared";
|
||||
import { SidebarProvider } from "fumadocs-ui/components/sidebar/base";
|
||||
|
||||
export interface DocsLayoutProps extends BaseLayoutProps {
|
||||
tree: PageTree.Root;
|
||||
|
||||
@@ -5,6 +5,7 @@ import type { BreadcrumbOptions } from "fumadocs-core/breadcrumb";
|
||||
import { getBreadcrumbItemsFromPath } from "fumadocs-core/breadcrumb";
|
||||
import type { PageTree } from "fumadocs-core/server";
|
||||
import { useEffectEvent } from "fumadocs-core/utils/use-effect-event";
|
||||
import { useSidebar } from "fumadocs-ui/components/sidebar/base";
|
||||
import { useI18n } from "fumadocs-ui/contexts/i18n";
|
||||
import { useTreeContext, useTreePath } from "fumadocs-ui/contexts/tree";
|
||||
import { ChevronLeft, ChevronRight } from "lucide-react";
|
||||
@@ -16,7 +17,6 @@ import { isActive } from "../../lib/is-active";
|
||||
import { cn } from "../../lib/utils";
|
||||
import { useNav } from "./layout/nav";
|
||||
import { TocPopover } from "./layout/toc";
|
||||
import { useSidebar } from "fumadocs-ui/components/sidebar/base";
|
||||
|
||||
export function TocPopoverHeader(props: HTMLAttributes<HTMLDivElement>) {
|
||||
const ref = useRef<HTMLElement>(null);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { source } from "@/lib/source";
|
||||
import type { InferPageType } from "fumadocs-core/source";
|
||||
import type { source } from "@/lib/source";
|
||||
|
||||
type PropertyDefinition = {
|
||||
name: string;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { blogCollection, changelogCollection, docs } from "collections/server";
|
||||
import { loader } from "fumadocs-core/source";
|
||||
import { toFumadocsSource } from "fumadocs-mdx/runtime/server";
|
||||
import { blogCollection, changelogCollection, docs } from "collections/server";
|
||||
import { getPageTree } from "@/components/sidebar-content";
|
||||
|
||||
export const source = loader({
|
||||
|
||||
@@ -5,9 +5,9 @@ import {
|
||||
} from "fumadocs-mdx/config";
|
||||
import lastModified from "fumadocs-mdx/plugins/last-modified";
|
||||
import {
|
||||
createFileSystemGeneratorCache,
|
||||
createGenerator,
|
||||
remarkAutoTypeTable,
|
||||
createFileSystemGeneratorCache,
|
||||
} from "fumadocs-typescript";
|
||||
import * as z from "zod";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user