(query: string, ...parts: Array<string | undefined>)
| 173 | } |
| 174 | |
| 175 | function matchesQuery(query: string, ...parts: Array<string | undefined>): boolean { |
| 176 | if (!query) return true |
| 177 | return parts.some((part) => part?.toLowerCase().includes(query)) |
| 178 | } |
| 179 | |
| 180 | export function HelpView(): JSX.Element { |
| 181 | const closeActiveNote = useStore((s) => s.closeActiveNote) |