chore: update variable name

This commit is contained in:
JimmFly
2022-12-19 16:16:06 +08:00
parent eed4c7441e
commit b8e9da07bd
2 changed files with 3 additions and 2 deletions
@@ -11,8 +11,9 @@ export const QuickSearchButton = ({
const { triggerQuickSearchModal } = useModal();
return (
<Tooltip content="Search and quickly jump to a page" placement="bottom">
<Tooltip content="Switch to" placement="bottom">
<IconButton
data-testid="header-quickSearchButton"
{...props}
onClick={e => {
onClick?.(e);
@@ -70,7 +70,7 @@ export const Results = (props: {
</StyledNotFound>
)
) : (
<Command.Group heading="Jump to">
<Command.Group heading="Switch to">
{List.map(link => {
return (
<Command.Item