mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-18 10:31:50 +08:00
chore: rename variable
This commit is contained in:
@@ -3,9 +3,9 @@ import JumpTo from './JumpTo';
|
||||
import { Command } from 'cmdk';
|
||||
import SearchResult from './searchResult';
|
||||
|
||||
const Result = (props: { search: string }) => {
|
||||
const Result = (props: { result: string }) => {
|
||||
return (
|
||||
<Command.List>{props.search ? <SearchResult /> : <JumpTo />}</Command.List>
|
||||
<Command.List>{props.result ? <SearchResult /> : <JumpTo />}</Command.List>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user