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) => { const AppWarning: React.FC<IProps> = (props) => {
return ( return (
<div className="mx_AppPermissionWarning"> <div className="mx_AppPermissionWarning">
<div className="mx_AppPermissionWarningImage"> <div>
<img src={require("../../../../res/img/warning.svg").default} alt="" /> <img src={require("../../../../res/img/warning.svg").default} alt="" />
</div> </div>
<div className="mx_AppPermissionWarningText"> <div>
<span className="mx_AppPermissionWarningTextLabel">{props.errorMsg || "Error"}</span> <span>{props.errorMsg || "Error"}</span>
</div> </div>
</div> </div>
); );