Skip to content

Commit 42ea65e

Browse files
committed
refactor: change default category for registered Chai blocks from "custom" to "core"
1 parent ed97ed1 commit 42ea65e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/package/v2/runtime/core.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export const registerChaiBlock = <
103103
component: React.ComponentType<ChaiBlockComponentProps<T>>,
104104
options: ChaiBlockDefinitionOptions<T, K>,
105105
) => {
106-
registerInternalBlock<T, K>(component, { ...options, ...{ category: options.category || "custom" } });
106+
registerInternalBlock<T, K>(component, { ...options, ...{ category: options.category || "core" } });
107107
};
108108

109109
export const registerChaiServerBlock = <

0 commit comments

Comments
 (0)