Add empty opportunity page (#83)
* Add empty opportunity page * Fix coverage --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -0,0 +1,19 @@
|
||||
import { MemoryRouter } from 'react-router-dom';
|
||||
import Opportunities from '../Opportunities';
|
||||
import { ThemeProvider } from '@emotion/react';
|
||||
import { lightTheme } from '../../../layout/styles/themes';
|
||||
|
||||
const component = {
|
||||
title: 'Opportunities',
|
||||
component: Opportunities,
|
||||
};
|
||||
|
||||
export default component;
|
||||
|
||||
export const OpportunitiesDefault = () => (
|
||||
<ThemeProvider theme={lightTheme}>
|
||||
<MemoryRouter>
|
||||
<Opportunities />
|
||||
</MemoryRouter>
|
||||
</ThemeProvider>
|
||||
);
|
||||
Reference in New Issue
Block a user