add export error handling (#2243)

This commit is contained in:
David Luzar
2020-10-16 11:53:40 +02:00
committed by GitHub
parent 25d460be96
commit 538f2be097
5 changed files with 60 additions and 40 deletions

View File

@@ -10,7 +10,7 @@ export const BackgroundPickerAndDarkModeToggle = ({
}: {
actionManager: ActionManager;
appState: AppState;
setAppState: any;
setAppState: React.Component<any, AppState>["setState"];
}) => (
<div style={{ display: "flex" }}>
{actionManager.renderAction("changeViewBackgroundColor")}