mirror of
https://github.com/zadam/trilium.git
synced 2025-12-20 15:19:56 +01:00
client/status bar/note paths: fix the issues pointed by gemini-code-assist
This commit is contained in:
@@ -9,11 +9,11 @@ interface LinkButtonProps {
|
||||
|
||||
export default function LinkButton({ onClick, text, triggerCommand }: LinkButtonProps) {
|
||||
return (
|
||||
<a class="tn-link" href="javascript:"
|
||||
<a class="tn-link" href="#"
|
||||
data-trigger-command={triggerCommand}
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
if (onClick) onClick();
|
||||
onClick?.();
|
||||
}}>
|
||||
{text}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user