mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
remove ugly alerts
This commit is contained in:
@@ -96,13 +96,9 @@ const UpdateButton = () => {
|
|||||||
<>
|
<>
|
||||||
{/* TODO: Implement update button once available in API */}
|
{/* TODO: Implement update button once available in API */}
|
||||||
{isMobile ? (
|
{isMobile ? (
|
||||||
<button className={`button ${styles.disabledButton}`} onClick={() => alert('Coming soon')}>
|
<button className={`button ${styles.disabledButton}`}>{t('update')}</button>
|
||||||
{t('update')}
|
|
||||||
</button>
|
|
||||||
) : (
|
) : (
|
||||||
<button className={`button ${styles.disabledButton}`} onClick={() => alert('Coming soon')}>
|
<button className={`button ${styles.disabledButton}`}>{t('update')}</button>
|
||||||
{t('update')}
|
|
||||||
</button>
|
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -91,7 +91,6 @@ const TopBarDesktop = () => {
|
|||||||
to='boards/create'
|
to='boards/create'
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
alert('Coming soon');
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Create
|
Create
|
||||||
@@ -102,7 +101,6 @@ const TopBarDesktop = () => {
|
|||||||
to='boards'
|
to='boards'
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
alert('Coming soon');
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Vote
|
Vote
|
||||||
|
|||||||
Reference in New Issue
Block a user