We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c940998 + f6e8541 commit bdf4bccCopy full SHA for bdf4bcc
1 file changed
apps/web/src/components/topic/content-list.tsx
@@ -36,7 +36,7 @@ export default function ContentList({
36
const { mutateAsync: createContent, isPending } = useCreateContent(id);
37
38
const filteredContents = useMemo(() => {
39
- return contents?.filter((content) => nodes.some((node) => node.data.item.id === content.id));
+ return contents?.filter((content) => nodes.some((node) => node.data.item.id !== content.id));
40
}, [contents, nodes]);
41
42
const onSearchChange = (event: React.ChangeEvent<HTMLInputElement>) => {
0 commit comments