title: Can't build React/Next project - found page without a React Component as default export (context api file)
body: <p>I'm trying to build my Next.js project but it keeps giving me this error in the terminal:</p>
  <pre><code>Error: Build optimization failed: found page without a React Component as default export in 
  pages/components/context/Context
  </code></pre>
  <p>That's the React context API file, there isn't supposed to be any default export there. Is this a bug or what?</p>