From 854ed17c551b02824242c2faed73792e65ca2138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20Maa=C3=9F?= <mathias.maass@uni-leipzig.de> Date: Tue, 26 Mar 2019 08:55:11 +0100 Subject: [PATCH] adjust workspace area --- __tests__/src/components/WorkspaceArea.test.js | 2 ++ src/components/WorkspaceArea.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/__tests__/src/components/WorkspaceArea.test.js b/__tests__/src/components/WorkspaceArea.test.js index be8d0fc07..e03f8fe6d 100644 --- a/__tests__/src/components/WorkspaceArea.test.js +++ b/__tests__/src/components/WorkspaceArea.test.js @@ -3,6 +3,7 @@ import { shallow } from 'enzyme'; import WorkspaceControlPanel from '../../../src/containers/WorkspaceControlPanel'; import Workspace from '../../../src/containers/Workspace'; import WorkspaceAdd from '../../../src/containers/WorkspaceAdd'; +import ErrorDialog from '../../../src/containers/ErrorDialog'; import { WorkspaceArea } from '../../../src/components/WorkspaceArea'; /** */ @@ -29,6 +30,7 @@ describe('WorkspaceArea', () => { <main> <WorkspaceControlPanel /> <Workspace /> + <ErrorDialog /> </main>, )).toBeTruthy(); }); diff --git a/src/components/WorkspaceArea.js b/src/components/WorkspaceArea.js index 84106824a..4bff978fa 100644 --- a/src/components/WorkspaceArea.js +++ b/src/components/WorkspaceArea.js @@ -32,7 +32,7 @@ export class WorkspaceArea extends Component { ? <WorkspaceAdd /> : <Workspace /> } - {<ErrorDialog />} + <ErrorDialog /> </main> ); } -- GitLab