Make cursor a pointer in ContributionModal

This makes the cursors a pointer when hovering over the refresh icon. An alternative approach would be to use the <button> tag instead of the <a> tag. <a> tags without an `href` aren't treated as links.
This commit is contained in:
tjshipe 2021-08-05 14:24:31 -04:00 committed by GitHub
parent c99f5de67a
commit 3318adc965
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ const ContributionModal = () => {
<div className="flex items-center text-xs text-fgd-4">
<a
onClick={handleRefresh}
className={refreshing && 'animate-spin'}
className={refreshing ? 'animate-spin' : 'hover:cursor-pointer'}
>
<RefreshIcon
className={`w-4 h-4`}