renderer: showing progress on slow runs

This commit is contained in:
muerwre 2018-12-10 12:22:38 +07:00
parent 25ae7f8282
commit 66f79db43d
9 changed files with 87 additions and 9 deletions

View file

@ -27,6 +27,7 @@ import {
setProvider,
} from '$redux/user/actions';
import { ProviderDialog } from '$components/dialogs/ProviderDialog';
import { ShotPrefetchDialog } from '$components/dialogs/ShotPrefetchDialog';
type Props = {
mode: String,
@ -42,6 +43,7 @@ const DIALOG_CONTENTS = {
[MODES.SAVE]: SaveDialog,
[MODES.CONFIRM_CANCEL]: CancelDialog,
[MODES.PROVIDER]: ProviderDialog,
[MODES.SHOT_PREFETCH]: ShotPrefetchDialog,
};
export const Component = (props: Props) => {