remove ugly alerts

This commit is contained in:
Tom (plebeius.eth)
2024-09-16 16:57:08 +02:00
parent aa5b741239
commit fa86c3631f
2 changed files with 2 additions and 8 deletions
@@ -96,13 +96,9 @@ const UpdateButton = () => {
<>
{/* TODO: Implement update button once available in API */}
{isMobile ? (
<button className={`button ${styles.disabledButton}`} onClick={() => alert('Coming soon')}>
{t('update')}
</button>
<button className={`button ${styles.disabledButton}`}>{t('update')}</button>
) : (
<button className={`button ${styles.disabledButton}`} onClick={() => alert('Coming soon')}>
{t('update')}
</button>
<button className={`button ${styles.disabledButton}`}>{t('update')}</button>
)}
</>
);
-2
View File
@@ -91,7 +91,6 @@ const TopBarDesktop = () => {
to='boards/create'
onClick={(e) => {
e.preventDefault();
alert('Coming soon');
}}
>
Create
@@ -102,7 +101,6 @@ const TopBarDesktop = () => {
to='boards'
onClick={(e) => {
e.preventDefault();
alert('Coming soon');
}}
>
Vote