diff --git a/src/app/components/hocs/pageLayout.js b/src/app/components/hocs/pageLayout.js index 269a6f01..075034f8 100644 --- a/src/app/components/hocs/pageLayout.js +++ b/src/app/components/hocs/pageLayout.js @@ -1,14 +1,10 @@ -import Layout from '@/components/core/Layout/Layout'; +// @flow strict +import type { AbstractComponent } from 'react'; +function pageLayout( + Component: AbstractComponent +): AbstractComponent { + return Component; +} -function withSubscription(WrappedComponent) { - // ...and returns another component... - return class extends React.Component { - - render() { - // ... and renders the wrapped component with the fresh data! - // Notice that we pass through any additional props - return ; - } - }; -} \ No newline at end of file +export default pageLayout;