mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(mod queue): rename queue dismissal action
This commit is contained in:
@@ -315,7 +315,7 @@ const PostInfo = ({
|
||||
<span className={styles.modQueueButtonWrapper}>
|
||||
[
|
||||
<button className={styles.modQueueActionButton} onClick={onRemoveFromModQueue} disabled={isPublishing}>
|
||||
{t('remove')}
|
||||
{t('modQueue.dismiss')}
|
||||
</button>
|
||||
]
|
||||
</span>
|
||||
|
||||
@@ -621,7 +621,7 @@ const PostMobile = ({
|
||||
const modQueueErrorMessage = formatErrorForDisplay(modQueueError);
|
||||
const modQueueRemoveButton = onRemoveFromModQueue ? (
|
||||
<button className='button' onClick={onRemoveFromModQueue} disabled={isPublishing}>
|
||||
{capitalize(t('remove'))}
|
||||
{capitalize(t('modQueue.dismiss'))}
|
||||
</button>
|
||||
) : null;
|
||||
const linksCount = useCountLinksInReplies(resolvedPost);
|
||||
|
||||
@@ -177,7 +177,7 @@ const ModQueueActions = ({ status, error, errorMessage, isPublishing, handleAppr
|
||||
<span className={styles.buttonWrapper}>
|
||||
[
|
||||
<button className={styles.button} onClick={handleRemove} disabled={isPublishing}>
|
||||
{t('remove')}
|
||||
{t('modQueue.dismiss')}
|
||||
</button>
|
||||
]
|
||||
</span>
|
||||
@@ -185,7 +185,7 @@ const ModQueueActions = ({ status, error, errorMessage, isPublishing, handleAppr
|
||||
<span className={styles.cardRemoveButtonWrapper}>
|
||||
[
|
||||
<button className={styles.cardRemoveButton} onClick={handleRemove} disabled={isPublishing}>
|
||||
{t('remove')}
|
||||
{t('modQueue.dismiss')}
|
||||
</button>
|
||||
]
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user