Add Router to IntegrationDetail stories
// import { action } from '@storybook/addon-actions';
import { storiesOf } from '@storybook/react';
import * as React from 'react';
+import { BrowserRouter as Router } from 'react-router-dom';
import {
Container,
IntegrationDetailHistoryListView,
@@ -9,6 +10,7 @@ import {
} from '../../src';
storiesOf('Integration/Detail', module).add('integration published', () => (
+ <Router>
<>
<Container
style={{
@@ -25,4 +27,5 @@ storiesOf('Integration/Detail', module).add('integration published', () => (
</Container>
<IntegrationDetailHistoryListView integrationIsDraft={false} />
</>
+ </Router>
));
