Commit 8e16744 1 parent d60b8c8 commit 8e16744 Copy full SHA for 8e16744
File tree 2 files changed +3
-12
lines changed
2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change 1
- <!DOCTYPE html>
2
- < html >
3
- < head >
4
- < meta charset ="utf-8 ">
5
- < link rel ="stylesheet " href ="/src.e31bb0bc.css "> </ head >
6
- < body >
7
- < div id ="root "> </ div >
8
- < script type ="text/javascript " src ="/src.e31bb0bc.js "> </ script >
9
- </ body >
10
- </ html >
1
+ <!DOCTYPE html> < html > < head > < meta charset ="utf-8 "> < link rel ="stylesheet " href ="src.e31bb0bc.css "> </ head > < body > < div id ="root "> </ div > < script type ="text/javascript " src ="src.e31bb0bc.js "> </ script > </ body > </ html >
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export class Asset extends React.Component {
38
38
39
39
render ( ) {
40
40
if ( this . state . asset ) {
41
- return < img src = { this . state . asset . fields . file [ 'en-US' ] . url + '?w=750' } />
41
+ return < img src = { this . state . asset . fields . file [ this . props . sdk . locales . default ] . url + '?w=750' } />
42
42
}
43
43
44
44
return < SkeletonContainer > < SkeletonImage width = { 750 } height = { 100 } /> </ SkeletonContainer >
@@ -87,7 +87,7 @@ export class DialogExtension extends React.Component {
87
87
return (
88
88
< Typography className = { styles . dialog } > {
89
89
documentToReactComponents (
90
- this . state . entry . fields . helpText [ 'en-US' ] ,
90
+ this . state . entry . fields . helpText [ this . props . sdk . locales . default ] ,
91
91
{
92
92
renderNode : {
93
93
[ BLOCKS . PARAGRAPH ] : ( node , children ) => < Paragraph > { children } </ Paragraph > ,
You can’t perform that action at this time.
0 commit comments