Skip to content

Commit cdb421b

Browse files
committed
Formatting
1 parent 6ed0532 commit cdb421b

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

packages/gitbook/src/app/(site)/fetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export interface PageIdParams {
2121
pageId: string;
2222
}
2323

24-
export type SectionsList = { list: SiteSection[]; section: SiteSection; index: number; };
24+
export type SectionsList = { list: SiteSection[]; section: SiteSection; index: number };
2525

2626
/**
2727
* Fetch all the data needed to render the content layout.

packages/gitbook/src/components/Header/Header.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
import {
2-
CustomizationSettings,
3-
Site,
4-
SiteCustomizationSettings,
5-
Space,
6-
} from '@gitbook/api';
1+
import { CustomizationSettings, Site, SiteCustomizationSettings, Space } from '@gitbook/api';
72
import { CustomizationHeaderPreset } from '@gitbook/api';
83
import { Suspense } from 'react';
94

packages/gitbook/src/components/SiteSectionTabs/SiteSectionTabs.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ import { Button, Link } from '../primitives';
1010
/**
1111
* A set of navigational tabs representing site sections for multi-section sites
1212
*/
13-
export function SiteSectionTabs(props: { list: SiteSection[]; section: SiteSection; index: number; }) {
13+
export function SiteSectionTabs(props: {
14+
list: SiteSection[];
15+
section: SiteSection;
16+
index: number;
17+
}) {
1418
const { list: sections, section: currentSection, index: currentIndex } = props;
1519

1620
const tabs = sections.map((section) => ({

0 commit comments

Comments
 (0)