mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
Fix component export
This commit is contained in:
parent
4d38218e24
commit
70e525d672
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ interface IState {
|
|||
}
|
||||
|
||||
@replaceableComponent("views.messages.DownloadActionButton")
|
||||
export class DownloadActionButton extends React.PureComponent<IProps, IState> {
|
||||
export default class DownloadActionButton extends React.PureComponent<IProps, IState> {
|
||||
private iframe: React.RefObject<HTMLIFrameElement> = createRef();
|
||||
|
||||
public constructor(props: IProps) {
|
||||
|
|
|
@ -33,7 +33,7 @@ import { canCancel } from "../context_menus/MessageContextMenu";
|
|||
import Resend from "../../../Resend";
|
||||
import { MatrixClientPeg } from "../../../MatrixClientPeg";
|
||||
import { MediaEventHelper } from "../../../utils/MediaEventHelper";
|
||||
import { DownloadActionButton } from "./DownloadActionButton";
|
||||
import DownloadActionButton from "./DownloadActionButton";
|
||||
|
||||
const OptionsButton = ({ mxEvent, getTile, getReplyThread, permalinkCreator, onFocusChange }) => {
|
||||
const [menuDisplayed, button, openMenu, closeMenu] = useContextMenu();
|
||||
|
|
Loading…
Reference in a new issue