Show tooltips for the tiny buttons on poll UI

This commit is contained in:
Lim Chee Aun 2023-09-30 23:23:52 +08:00
parent 4dd706ff96
commit 6a16b25722

View file

@ -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'}