chore: add shortcut hint for revealing search result in file tree

This commit is contained in:
EnixCoda 2023-02-11 00:03:06 +08:00
parent 13d4805bea
commit 6c5328e6f3

View file

@ -266,7 +266,7 @@ export function useRenderGoToButton(searched: boolean, goTo: (path: string[]) =>
? function renderGoToButton(node: TreeNode): React.ReactNode {
return (
<button
title={'Reveal in file tree'}
title={'Reveal in file tree (⏎)'}
className={'go-to-button'}
onClick={() => goTo(node.path.split('/'))}
>