Remove unused class names from AppWarning (#10823)

This commit is contained in:
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

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>
);