mirror of https://github.com/vector-im/riot-web
Remove unnecessary constructor
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
ae5e10ff0c
commit
04098dc74c
|
@ -15,16 +15,12 @@ limitations under the License.
|
|||
*/
|
||||
|
||||
import React from "react";
|
||||
import MImageBody, { IProps as MImageBodyIProps } from "./MImageBody";
|
||||
import MImageBody from "./MImageBody";
|
||||
import { presentableTextForFile } from "./MFileBody";
|
||||
import { IMediaEventContent } from "../../../customisations/models/IMediaEventContent";
|
||||
import SenderProfile from "./SenderProfile";
|
||||
|
||||
export default class MImageReplyBody extends MImageBody {
|
||||
constructor(props: MImageBodyIProps) {
|
||||
super(props);
|
||||
}
|
||||
|
||||
public onClick = (ev: React.MouseEvent): void => {
|
||||
ev.preventDefault();
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue