Fix tests and upgrade node_modules (#1227)
* Fix tests * Fix tests * Fix 0 in SortandFilterBar
This commit is contained in:
@ -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`
|
||||
|
||||
@ -162,7 +162,7 @@ function SortAndFilterBar<SortField>({
|
||||
/>
|
||||
);
|
||||
})}
|
||||
{sorts.length && filtersWithDefinition.length && (
|
||||
{!!sorts.length && !!filtersWithDefinition.length && (
|
||||
<StyledSeperatorContainer>
|
||||
<StyledSeperator />
|
||||
</StyledSeperatorContainer>
|
||||
|
||||
Reference in New Issue
Block a user