Created
August 30, 2020 02:54
-
-
Save ericelliott/237ae2e0c012b1f0f6852d6a2a975681 to your computer and use it in GitHub Desktop.
pageHOC for EricElliottJS.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { compose } from 'lodash/fp'; | |
import withFeatures from './with-features'; | |
import withEnv from './with-env'; | |
import withLoader from './with-loader'; | |
import withCoupon from './with-coupon'; | |
import withLayout from './with-layout'; | |
import withAuth from './with-auth'; | |
import { withRouter } from 'next/router'; | |
import withMagicLink from '../features/ethereum-authentication/with-magic-link'; | |
export default compose( | |
withEnv, | |
withAuth, | |
withLoader, | |
withLayout({ showFooter: true }), | |
withFeatures, | |
withRouter, | |
withCoupon, | |
withMagicLink, | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment