Remove unused class names from `AppWarning` (#10823)

pull/28217/head
Suguru Hirahara 2023-05-09 07:59:42 +00:00 committed by GitHub
parent ed5c02be6d
commit a0228994dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -23,11 +23,11 @@ interface IProps {
const AppWarning: React.FC<IProps> = (props) => {
return (
<div className="mx_AppPermissionWarning">
<div className="mx_AppPermissionWarningImage">
<div>
<img src={require("../../../../res/img/warning.svg").default} alt="" />
</div>
<div className="mx_AppPermissionWarningText">
<span className="mx_AppPermissionWarningTextLabel">{props.errorMsg || "Error"}</span>
<div>
<span>{props.errorMsg || "Error"}</span>
</div>
</div>
);