Fix component export

This commit is contained in:
Travis Ralston 2021-07-18 17:06:30 -06:00
parent 4d38218e24
commit 70e525d672
2 changed files with 2 additions and 2 deletions

View file

@ -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) {

View file

@ -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();