chore: bump toolchain & fix lint

This commit is contained in:
DarkSky
2026-05-24 06:47:17 +08:00
parent adfa51a372
commit 2aa56cbccd
39 changed files with 151 additions and 130 deletions
@@ -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;
};