File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
apps/portal/src/components/Document Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,9 @@ import { getNextPageFromSidebar } from "./utils/getNextPageFromSidebar";
77
88export 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
Original file line number Diff line number Diff line change 1- import Link from "next/link" ;
21import { ArrowRightIcon } from "lucide-react" ;
2+ import Link from "next/link" ;
33
44export function NextPageButton ( props : { href : string ; name : string } ) {
55 return (
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ import {
66 VideoIcon ,
77} from "lucide-react" ;
88import { Feedback } from "../others/Feedback" ;
9+ import type { SidebarLink } from "../others/Sidebar" ;
910import { Subscribe } from "../others/Subscribe" ;
1011import { DocLink } from "." ;
1112import { AutoEditPageButton } from "./AutoEditPageButton" ;
1213import { AutoNextPageButton } from "./AutoNextPageButton" ;
13- import type { SidebarLink } from "../others/Sidebar" ;
1414
1515export function PageFooter ( props : {
1616 editPageButton ?: true ;
Original file line number Diff line number Diff line change 11import type { SidebarLink } from "@/components/others/Sidebar" ;
22
3- export interface NextPageInfo {
3+ interface NextPageInfo {
44 href : string ;
55 name : string ;
66}
You can’t perform that action at this time.
0 commit comments