mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-14 12:18:00 +03:00
Update src/components/views/dialogs/ExportDialog.tsx
Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
This commit is contained in:
parent
f0d0b77b8c
commit
4ddbe76fbd
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@ const ExportDialog: React.FC<IProps> = ({ room, onFinished }) => {
|
|||
const [isExporting, setExporting] = useState(false);
|
||||
const [numberOfMessages, setNumberOfMessages] = useState<number>(100);
|
||||
const [sizeLimit, setSizeLimit] = useState<number | null>(8);
|
||||
const [sizeLimitRef, messageCountRef] = [useRef<any>(), useRef<any>()];
|
||||
const sizeLimitRef = useRef<Field>();
|
||||
const messageCountRef = useRef<Field>();
|
||||
const [displayCancel, setCancelWarning] = useState(false);
|
||||
const [exportCancelled, setExportCancelled] = useState(false);
|
||||
const [exportSuccessful, setExportSuccessful] = useState(false);
|
||||
|
|
Loading…
Reference in a new issue