Show tooltips for the tiny buttons on poll UI

pull/228/head
Lim Chee Aun 2023-09-30 23:23:52 +08:00
rodzic 4dd706ff96
commit 6a16b25722
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -199,6 +199,7 @@ export default function Poll({
setUIState('default');
})();
}}
title="Refresh"
>
<Icon icon="refresh" alt="Refresh" />
</button>
@ -212,6 +213,7 @@ export default function Poll({
e.preventDefault();
setShowResults(!showResults);
}}
title={showResults ? 'Hide results' : 'Show results'}
>
<Icon
icon={showResults ? 'eye-open' : 'eye-close'}