Fix tests and upgrade node_modules (#1227)

* Fix tests

* Fix tests

* Fix 0 in SortandFilterBar
This commit is contained in:
Charles Bochet
2023-08-16 04:38:50 +02:00
committed by GitHub
parent 38c420aab0
commit b503b53062
12 changed files with 2062 additions and 4124 deletions

View File

@ -3,7 +3,7 @@ import { BlockNoteView } from '@blocknote/react';
import styled from '@emotion/styled';
interface BlockEditorProps {
editor: BlockNoteEditor | null;
editor: BlockNoteEditor;
}
const StyledEditor = styled.div`

View File

@ -162,7 +162,7 @@ function SortAndFilterBar<SortField>({
/>
);
})}
{sorts.length && filtersWithDefinition.length && (
{!!sorts.length && !!filtersWithDefinition.length && (
<StyledSeperatorContainer>
<StyledSeperator />
</StyledSeperatorContainer>