File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ import { Resource } from './resource';
11
11
export function App ( props : PageProps ) {
12
12
13
13
const stylesheets = props . options . stylesheets . map ( ss => {
14
- return < link rel = "stylesheet" href = { url . resolve ( props . options . assetBaseUrl , ss ) } type = "text/css" /> ;
14
+ const u = url . resolve ( props . options . assetBaseUrl , ss ) ;
15
+ return < link rel = "stylesheet" href = { u } type = "text/css" key = { u } /> ;
15
16
} ) ;
16
17
17
18
const resourceTitle = getResourceTitle ( props . resourceState ) ;
@@ -22,7 +23,7 @@ export function App(props: PageProps) {
22
23
< title > { resourceTitle + ' - ' + appTitle } </ title >
23
24
< meta charSet = "utf-8" />
24
25
{ stylesheets }
25
- < link rel = "icon" href = { url . resolve ( props . options . assetBaseUrl , 'curveball.svg' ) } />
26
+ < link rel = "icon" href = { url . resolve ( props . options . assetBaseUrl , 'curveball.svg' ) } key = "icon" />
26
27
</ head >
27
28
< body >
28
29
< header >
You can’t perform that action at this time.
0 commit comments