cfb8cc841e
Fixes: #31104 This effecting users who are using expo with next (`@expo/next-adapter`) since react-native use `.web`, `.ios` and `.android` to identify platform. [Reference](https://docs.expo.dev/guides/using-electron/#%F0%9F%A7%B8-behavior) Change `document.web.js` to `document-web.js` as fallback page in web runtime
16 lines
288 B
TypeScript
16 lines
288 B
TypeScript
// Default _document page for web runtime
|
|
|
|
import React from 'react'
|
|
import { Html, Head, Main, NextScript } from './_document'
|
|
|
|
export default function Document() {
|
|
return (
|
|
<Html>
|
|
<Head />
|
|
<body>
|
|
<Main />
|
|
<NextScript />
|
|
</body>
|
|
</Html>
|
|
)
|
|
}
|