Run a minor code quality checker over the repo (#8524)
* Run a minor code quality checker over the repo Largely targeted at spelling of common words and misc code issues. * Update snapshots
This commit is contained in:
parent
89d7760f36
commit
548290b006
56 changed files with 72 additions and 72 deletions
|
@ -263,7 +263,7 @@ const ExportDialog: React.FC<IProps> = ({ room, onFinished }) => {
|
|||
else onFinished(false);
|
||||
};
|
||||
|
||||
const confirmCanel = async () => {
|
||||
const confirmCancel = async () => {
|
||||
await exporter?.cancelExport();
|
||||
setExportCancelled(true);
|
||||
setExporting(false);
|
||||
|
@ -346,7 +346,7 @@ const ExportDialog: React.FC<IProps> = ({ room, onFinished }) => {
|
|||
hasCancel={true}
|
||||
cancelButton={_t("Continue")}
|
||||
onCancel={() => setCancelWarning(false)}
|
||||
onPrimaryButtonClick={confirmCanel}
|
||||
onPrimaryButtonClick={confirmCancel}
|
||||
/>
|
||||
</BaseDialog>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue