Remove constructor

Co-authored-by: Germain <germain@souquet.com>
This commit is contained in:
Šimon Brandner
2021-09-27 10:12:45 +02:00
committed by GitHub
parent fb5c18caa0
commit 6aa5d98741

View File

@@ -26,9 +26,6 @@ interface IProps {
@replaceableComponent("views.messages.MjolnirBody")
export default class MjolnirBody extends React.Component<IProps> {
constructor(props: IProps) {
super(props);
}
private onAllowClick = (e: React.MouseEvent): void => {
e.preventDefault();