mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
Remove unnecessary constructor
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
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
Block a user