File tree 1 file changed +3
-0
lines changed
packages/packagers/react-static/src
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ export default (new Packager({
124
124
125
125
let meta = pageMeta ( nullthrows ( bundle . getMainEntry ( ) ) . meta ) ;
126
126
let props : PageProps = {
127
+ key : 'page' ,
127
128
pages,
128
129
currentPage : {
129
130
url : urlJoin ( bundle . target . publicUrl , bundle . name ) ,
@@ -141,6 +142,7 @@ export default (new Packager({
141
142
if ( b . type === 'css' ) {
142
143
resources . push (
143
144
React . createElement ( 'link' , {
145
+ key : b . id ,
144
146
rel : 'stylesheet' ,
145
147
href : urlJoin ( b . target . publicUrl , b . name ) ,
146
148
precedence : 'default' ,
@@ -150,6 +152,7 @@ export default (new Packager({
150
152
bootstrapModules . push ( urlJoin ( b . target . publicUrl , b . name ) ) ;
151
153
resources . push (
152
154
React . createElement ( 'script' , {
155
+ key : b . id ,
153
156
type : 'module' ,
154
157
async : true ,
155
158
src : urlJoin ( b . target . publicUrl , b . name ) ,
You can’t perform that action at this time.
0 commit comments