Skip to content

Commit daa92dd

Browse files
lint
1 parent 45c7a00 commit daa92dd

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

apps/portal/src/components/Document/AutoNextPageButton.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ import { getNextPageFromSidebar } from "./utils/getNextPageFromSidebar";
77

88
export function AutoNextPageButton({
99
sidebarLinks,
10-
}: { sidebarLinks: SidebarLink[] }) {
10+
}: {
11+
sidebarLinks: SidebarLink[];
12+
}) {
1113
const pathname = usePathname();
1214

1315
// Don't show next button on home page

apps/portal/src/components/Document/NextPageButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import Link from "next/link";
21
import { ArrowRightIcon } from "lucide-react";
2+
import Link from "next/link";
33

44
export function NextPageButton(props: { href: string; name: string }) {
55
return (

apps/portal/src/components/Document/PageFooter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import {
66
VideoIcon,
77
} from "lucide-react";
88
import { Feedback } from "../others/Feedback";
9+
import type { SidebarLink } from "../others/Sidebar";
910
import { Subscribe } from "../others/Subscribe";
1011
import { DocLink } from ".";
1112
import { AutoEditPageButton } from "./AutoEditPageButton";
1213
import { AutoNextPageButton } from "./AutoNextPageButton";
13-
import type { SidebarLink } from "../others/Sidebar";
1414

1515
export function PageFooter(props: {
1616
editPageButton?: true;

apps/portal/src/components/Document/utils/getNextPageFromSidebar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { SidebarLink } from "@/components/others/Sidebar";
22

3-
export interface NextPageInfo {
3+
interface NextPageInfo {
44
href: string;
55
name: string;
66
}

0 commit comments

Comments
 (0)