mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-01 09:30:01 +08:00
chore: bump toolchain & fix lint
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ const DatabaseBacklinkRow = ({
|
||||
row$,
|
||||
onChange,
|
||||
}: {
|
||||
defaultOpen: boolean;
|
||||
defaultOpen?: boolean;
|
||||
row$: Observable<DatabaseRow | undefined>;
|
||||
onChange?: (
|
||||
row: DatabaseRow,
|
||||
|
||||
@@ -20,10 +20,12 @@ import { HighlightText } from './highlight-text';
|
||||
|
||||
type Groups = { group?: QuickSearchGroup; items: QuickSearchItem[] }[];
|
||||
|
||||
const EMPTY_GROUPS: Groups = [];
|
||||
|
||||
export const CMDK = ({
|
||||
className,
|
||||
query,
|
||||
groups: newGroups = [],
|
||||
groups: newGroups = EMPTY_GROUPS,
|
||||
error,
|
||||
inputLabel,
|
||||
placeholder,
|
||||
|
||||
@@ -3,7 +3,7 @@ import { Fragment, useMemo } from 'react';
|
||||
import * as styles from './highlight-text.css';
|
||||
|
||||
type HighlightProps = {
|
||||
text: string;
|
||||
text?: string;
|
||||
start: string;
|
||||
end: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user