chore: add datatestid to errorMsg label updateGroupName

pull/3281/head
Audric Ackermann 4 months ago
parent cf5bc11c39
commit 3ce39f2662
No known key found for this signature in database

@ -168,6 +168,7 @@ export function UpdateGroupNameDialog(props: { conversationId: string }) {
animate={{ opacity: errorDisplayed ? 1 : 0 }}
transition={{ duration: THEME_GLOBALS['--duration-modal-error-shown'] }}
style={{ marginTop: errorDisplayed ? '0' : '-5px' }}
data-testid="error-message"
>
{errorMsg}
</StyledErrorMessage>

1
ts/react.d.ts vendored

@ -244,6 +244,7 @@ declare module 'react' {
| 'copy-msg-from-details'
| 'modal-heading'
| 'modal-description'
| 'error-message'
// modules profile name
| 'module-conversation__user__profile-name'
| 'module-message-search-result__header__name__profile-name'

Loading…
Cancel
Save