Remove unnecessary constructor
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
ae5e10ff0c
commit
04098dc74c
1 changed files with 1 additions and 5 deletions
|
@ -15,16 +15,12 @@ limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import MImageBody, { IProps as MImageBodyIProps } from "./MImageBody";
|
import MImageBody from "./MImageBody";
|
||||||
import { presentableTextForFile } from "./MFileBody";
|
import { presentableTextForFile } from "./MFileBody";
|
||||||
import { IMediaEventContent } from "../../../customisations/models/IMediaEventContent";
|
import { IMediaEventContent } from "../../../customisations/models/IMediaEventContent";
|
||||||
import SenderProfile from "./SenderProfile";
|
import SenderProfile from "./SenderProfile";
|
||||||
|
|
||||||
export default class MImageReplyBody extends MImageBody {
|
export default class MImageReplyBody extends MImageBody {
|
||||||
constructor(props: MImageBodyIProps) {
|
|
||||||
super(props);
|
|
||||||
}
|
|
||||||
|
|
||||||
public onClick = (ev: React.MouseEvent): void => {
|
public onClick = (ev: React.MouseEvent): void => {
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue