add 'coming soon' alert to inactive buttons

This commit is contained in:
Tom (plebeius.eth)
2024-09-12 11:57:24 +02:00
parent 1cfd823ad9
commit f9c82bccfd
2 changed files with 4 additions and 2 deletions
@@ -96,11 +96,11 @@ const UpdateButton = () => {
<>
{/* TODO: Implement update button once available in API */}
{isMobile ? (
<button className={`button ${styles.disabledButton}`} disabled>
<button className={`button ${styles.disabledButton}`} onClick={() => alert('Coming soon')}>
{t('update')}
</button>
) : (
<button className={`button ${styles.disabledButton}`} disabled>
<button className={`button ${styles.disabledButton}`} onClick={() => alert('Coming soon')}>
{t('update')}
</button>
)}