Created
September 3, 2019 13:34
-
-
Save fwojciec/166e9bb25f79444874a9ccf01b59b677 to your computer and use it in GitHub Desktop.
How to build a multilingual website in Next.js #4
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 React from 'react' | |
const Page: React.FC = () => { | |
// (...) | |
} | |
export default withLocale(Page) // <- component is wrapped with a HOC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment