Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
import Document, { Html, Head, Main, NextScript } from 'next/document';
class MyDocument extends Document {
static async getInitialProps(ctx) {
const initialProps = await Document.getInitialProps(ctx);
return {
...initialProps,
styles: _jsxs(_Fragment, {
children: [
initialProps.styles,
_jsx("style", {
dangerouslySetInnerHTML: {
__html: `html { background: hotpink; }`
}
})
]
})
};
}
render() {
return _jsxs(Html, {
children: [
_jsx(Head, {}),
_jsxs("body", {
children: [
_jsx(Main, {}),
_jsx(NextScript, {})
]
})
]
});
}
}
export default MyDocument;