Skip to content

Commit 4aad1fc

Browse files
committed
remove test
1 parent eeabef4 commit 4aad1fc

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

packages/gitbook/src/components/Announcement/AnnouncementDismissedScript.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function AnnouncementDismissedScript() {
1919
ANNOUNCEMENT_CSS_CLASS,
2020
]).slice(1, -1);
2121

22-
// makes sure keeps the banner state when navigating between sites
22+
// makes sure the banner dismissed state is kept when navigating between sites
2323
React.useEffect(() => {
2424
checkStorageForDismissedScript(
2525
ANNOUNCEMENT_STORAGE_KEY,

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,7 @@ export function SiteSectionTabs(props: { sections: ClientSiteSections }) {
101101
) : (
102102
<NavigationMenu.Link asChild>
103103
<SectionTab
104-
url={sectionOrGroup.url.replace(
105-
'https://',
106-
'https://pr3057.gitbook-open.pages.dev/'
107-
)}
104+
url={sectionOrGroup.url}
108105
isActive={isActive}
109106
title={title}
110107
icon={icon ? (icon as IconName) : undefined}

0 commit comments

Comments
 (0)