mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-14 22:52:01 +03:00
Update src/components/views/dialogs/ExportDialog.tsx
Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
This commit is contained in:
parent
efccf19e9e
commit
7b683a1f64
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ const ExportDialog: React.FC<IProps> = ({ room, onFinished }) => {
|
|||
const [displayCancel, setCancelWarning] = useState(false);
|
||||
const [exportCancelled, setExportCancelled] = useState(false);
|
||||
const [exportSuccessful, setExportSuccessful] = useState(false);
|
||||
const [Exporter, setExporter] = useStateCallback(
|
||||
const [Exporter, setExporter] = useStateCallback<Exporter>(
|
||||
null,
|
||||
async (Exporter: HTMLExporter | PlainTextExporter | JSONExporter) => {
|
||||
await Exporter?.export().then(() => {
|
||||
|
|
Loading…
Reference in a new issue