[MA-21]: Added role='alert' to the error message element (#29723)

Этот коммит содержится в:
ayush-chauhan233
2025-01-22 04:36:32 +05:30
коммит произвёл GitHub
родитель faeb6f52ac
Коммит a08341d398

Просмотреть файл

@@ -391,7 +391,10 @@ export default function ChannelNotificationsModal(props: Props) {
</main> </main>
<footer className='channel-notifications-settings-modal__footer'> <footer className='channel-notifications-settings-modal__footer'>
{serverError && {serverError &&
<span className='channel-notifications-settings-modal__server-error'> <span
role='alert'
className='channel-notifications-settings-modal__server-error'
>
{serverError} {serverError}
</span> </span>
} }