feat: change tooltip content

This commit is contained in:
MAZE 2024-02-25 21:51:31 +03:30
parent 240fd9c6e0
commit 941e1f0241

View File

@ -46,8 +46,8 @@ export function Notepad({ onClose, show }: NotepadProps) {
<Button
critical={!history}
icon={history ? <FaUndo /> : <BiTrash />}
recommended={history}
tooltip="Clear Note"
recommended={!!history}
tooltip={history ? 'Restore Note' : 'Clear Note'}
onClick={() => (history ? restore() : clear())}
/>
</div>