1/**2 * Copyright (c) Meta Platforms, Inc. and affiliates.3 *4 * This source code is licensed under the MIT license found in the5 * LICENSE file in the root directory of this source tree.6 *7 */89export default function Html({assets, children, title}) {10 return (11 <html lang="en">12 <head>13 <meta charSet="utf-8" />14 <meta name="viewport" content="width=device-width, initial-scale=1" />15 <link rel="shortcut icon" href="favicon.ico" />16 <link rel="stylesheet" href={assets['main.css']} />17 <title>{title}</title>18 </head>19 <body>20 <noscript21 dangerouslySetInnerHTML={{22 __html: `<b>Enable JavaScript to run this app.</b>`,23 }}24 />25 {children}26 <script27 dangerouslySetInnerHTML={{28 __html: `assetManifest = ${JSON.stringify(assets)};`,29 }}30 />31 </body>32 </html>33 );34}
Findings
✓ No findings reported for this file.