Skip to content

Commit 04ac86d

Browse files
committed
Fix remote build failure + lint issues
1 parent c561353 commit 04ac86d

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

hbase-website/app/components/docs/layout/docs/page/client.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export function PageTOCPopover({ className, children, ...rest }: ComponentProps<
6363
return () => {
6464
window.removeEventListener("click", onClick);
6565
};
66-
}, [onClick]);
66+
}, []);
6767

6868
return (
6969
<TocPopoverContext

hbase-website/app/components/docs/toc/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export function TocThumb({ containerRef, ...props }: ComponentProps<"div"> & Ref
9898
return () => {
9999
observer.disconnect();
100100
};
101-
}, [containerRef, onPrint]);
101+
});
102102

103103
useOnChange(active, () => {
104104
if (containerRef.current) {

hbase-website/vite.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,8 @@ export default defineConfig({
4848
"@": resolve(__dirname, "app")
4949
}
5050
},
51-
customLogger: logger
51+
customLogger: logger,
52+
preview: {
53+
host: "127.0.0.1"
54+
}
5255
});

0 commit comments

Comments
 (0)