diff --git a/packages/app/src/components/quick-search/content/index.tsx b/packages/app/src/components/quick-search/content/index.tsx
index 610056f3f3..136d4fb222 100644
--- a/packages/app/src/components/quick-search/content/index.tsx
+++ b/packages/app/src/components/quick-search/content/index.tsx
@@ -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 (
- {props.search ? : }
+ {props.result ? : }
);
};
diff --git a/packages/app/src/components/quick-search/content/searchResult/index.tsx b/packages/app/src/components/quick-search/content/searchResult/index.tsx
index 2848bb2142..33f14b08d2 100644
--- a/packages/app/src/components/quick-search/content/searchResult/index.tsx
+++ b/packages/app/src/components/quick-search/content/searchResult/index.tsx
@@ -1,7 +1,6 @@
import React from 'react';
import NoResult from './NotFound';
import { Command } from 'cmdk';
-import Store from '@blocksuite/store';
const SearchResult = () => {
return (
@@ -10,7 +9,6 @@ const SearchResult = () => {
a
b
-
c
Apple
diff --git a/packages/app/src/components/quick-search/input.tsx b/packages/app/src/components/quick-search/input.tsx
index cba2814260..69e89927a5 100644
--- a/packages/app/src/components/quick-search/input.tsx
+++ b/packages/app/src/components/quick-search/input.tsx
@@ -3,8 +3,8 @@ import { MiddleSearchIcon } from '@blocksuite/icons';
import { StyledInputContent, StyledLabel } from './style';
import { Command } from 'cmdk';
const Input = (props: {
- search: string;
- setSearch: Dispatch>;
+ query: string;
+ setQuery: Dispatch>;
}) => {
return (
@@ -12,8 +12,8 @@ const Input = (props: {