Skip to content

Commit 271184c

Browse files
committed
dont render empy subcat title
1 parent b5bbbf6 commit 271184c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/components/ReferenceDirectoryWithFilter

src/components/ReferenceDirectoryWithFilter/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export const ReferenceDirectoryWithFilter = ({
107107
category: { name: string },
108108
) => {
109109
if (!subcat.name || !category.name || subcat.name === "p5.sound") {
110-
return <div class="mb-sm" />;
110+
return null;
111111
}
112112

113113
return (

0 commit comments

Comments
 (0)