Skip to content

Commit 8658060

Browse files
committed
fix: fix build error
1 parent bf3144f commit 8658060

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

www/src/components/demos/table/column-resizing.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const items: Item[] = [
2626

2727
export default function Demo() {
2828
return (
29-
<TableContainer>
29+
<TableContainer resizable>
3030
<TableRoot aria-label="Files">
3131
<TableHeader columns={columns}>
3232
<TableColumn id="name" isRowHeader allowsResizing>

www/src/components/search-command.tsx

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type PageTree } from "fumadocs-core/server";
1+
// import { type PageTree } from "fumadocs-core/server";
22
import { kekabCaseToTitle } from "@/lib/string";
33
import { source } from "@/app/source";
44
import { SearchCommandClient } from "./search-command-client";
@@ -33,10 +33,9 @@ export function SearchCommand() {
3333
items: pages.filter((item) => item.url.split("/")[2] === category),
3434
}));
3535

36-
console.log(typeof source.pageTree.children);
37-
const newItems: PageTree.Node[] = source.pageTree.children;
38-
newItems.forEach((item) => {
39-
console.log(item);
40-
});
36+
// const newItems: PageTree.Node[] = source.pageTree.children;
37+
// newItems.forEach((item) => {
38+
// console.log(item);
39+
// });
4140
return <SearchCommandClient items={items} />;
4241
}

www/src/modules/themes/lib/create-dynamic-component.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,9 @@ export const createDynamicComponent = <Props extends {}>(
1818
const Component = (props: Props) => {
1919
const { currentTheme } = useCurrentTheme();
2020
const { primitives: localPrimitives } = useLocalPrimitives();
21-
console.log("local primitives", localPrimitives);
2221
const currentThemePrimitive = currentTheme?.primitives?.[primitiveName];
2322
const localPrimitive = localPrimitives[primitiveName];
24-
// console.log("CURRENT THEME LOCAL PRIMITIVE", currentThemePrimitive);
2523
const resolvedPrimitive = localPrimitive ?? currentThemePrimitive;
26-
// console.log("RESOLVED PRIMITIVE", resolvedPrimitive);
2724
const shouldWrapWithSuspense = true;
2825

2926
if (!resolvedPrimitive) {

www/src/registry/core/table_basic.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ const TableRoot = ({
112112
globalAction={!!onRowAction}
113113
>
114114
<TableContainer variant={variant} className={className} style={style}>
115-
{" "}
116115
{/* TODO: FIX THIS SHIT */}
117116
<AriaTable
118117
className={root({ variant })}

0 commit comments

Comments
 (0)