* Revert https://github.com/mattermost/mattermost-webapp/pull/11262

* fix missing translation

* fix indentation issue

* fix imports in Update accessibility_modals_dialogs_spec.js

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Ashish Dhama
2023-03-28 06:17:42 +05:30
коммит произвёл GitHub
родитель d0babfd254
Коммит dc4e7bf2ec
24 изменённых файлов: 631 добавлений и 1173 удалений

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

@@ -38,7 +38,6 @@ export type Props = {
compassDesign?: boolean;
backdrop?: boolean;
backdropClassName?: string;
headerButton?: React.ReactNode;
tabIndex?: number;
children: React.ReactNode;
keyboardEscape?: boolean;
@@ -166,7 +165,6 @@ export class GenericModal extends React.PureComponent<Props, State> {
<h1 id='genericModalLabel'>
{this.props.modalHeaderText}
</h1>
{this.props.headerButton}
</div>
);