mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-10 13:38:49 +08:00
chore: update variable name
This commit is contained in:
@@ -11,8 +11,9 @@ export const QuickSearchButton = ({
|
|||||||
const { triggerQuickSearchModal } = useModal();
|
const { triggerQuickSearchModal } = useModal();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Tooltip content="Search and quickly jump to a page" placement="bottom">
|
<Tooltip content="Switch to" placement="bottom">
|
||||||
<IconButton
|
<IconButton
|
||||||
|
data-testid="header-quickSearchButton"
|
||||||
{...props}
|
{...props}
|
||||||
onClick={e => {
|
onClick={e => {
|
||||||
onClick?.(e);
|
onClick?.(e);
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ export const Results = (props: {
|
|||||||
</StyledNotFound>
|
</StyledNotFound>
|
||||||
)
|
)
|
||||||
) : (
|
) : (
|
||||||
<Command.Group heading="Jump to">
|
<Command.Group heading="Switch to">
|
||||||
{List.map(link => {
|
{List.map(link => {
|
||||||
return (
|
return (
|
||||||
<Command.Item
|
<Command.Item
|
||||||
|
|||||||
Reference in New Issue
Block a user