File tree Expand file tree Collapse file tree 10 files changed +19
-13
lines changed
operations/operation-details/react Expand file tree Collapse file tree 10 files changed +19
-13
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export class ApiProductsViewModel extends React.Component {
1818 const data = JSON . stringify ( this . state ) ;
1919
2020 return this . state . isRedesignEnabled
21- ? < fui-api-products-runtime props = { data } > </ fui-api-products-runtime >
21+ ? < fui-api-products-runtime key = { data } props = { data } > </ fui-api-products-runtime >
2222 : this . state . layout === 'tiles'
2323 ? < api-products-tiles-runtime params = { data } > </ api-products-tiles-runtime >
2424 : this . state . layout === 'dropdown'
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export class ListOfApisViewModel extends React.Component {
2626 const data = JSON . stringify ( this . state ) ;
2727
2828 return this . state . isRedesignEnabled
29- ? < fui-api-list-runtime props = { data } > </ fui-api-list-runtime >
29+ ? < fui-api-list-runtime key = { data } props = { data } > </ fui-api-list-runtime >
3030 : this . state . layout === 'tiles'
3131 ? < api-list-tiles params = { data } > </ api-list-tiles >
3232 : this . state . layout === 'dropdown'
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export class OperationDetailsViewModel extends React.Component {
2323 const data = JSON . stringify ( this . state ) ;
2424
2525 return this . state . isRedesignEnabled
26- ? < fui-operation-details props = { data } > </ fui-operation-details >
26+ ? < fui-operation-details key = { data } props = { data } > </ fui-operation-details >
2727 : < operation-details params = { data } > </ operation-details > ;
2828 }
2929}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export class ProductApisViewModel extends React.Component {
2626 const data = JSON . stringify ( this . state ) ;
2727
2828 return this . state . isRedesignEnabled
29- ? < fui-product-apis-runtime props = { data } > </ fui-product-apis-runtime >
29+ ? < fui-product-apis-runtime key = { data } props = { data } > </ fui-product-apis-runtime >
3030 : this . state . layout === 'tiles'
3131 ? < product-apis-tiles-runtime params = { data } > </ product-apis-tiles-runtime >
3232 : < product-apis-runtime params = { data } > </ product-apis-runtime > ;
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export class ProductListViewModel extends React.Component {
2222 const data = JSON . stringify ( this . state ) ;
2323
2424 return this . state . isRedesignEnabled
25- ? < fui-product-list-runtime props = { data } > </ fui-product-list-runtime >
25+ ? < fui-product-list-runtime key = { data } props = { data } > </ fui-product-list-runtime >
2626 : this . state . layout === 'tiles'
2727 ? < product-list-tiles-runtime params = { data } > </ product-list-tiles-runtime >
2828 : this . state . layout === 'dropdown'
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export class ProductSubscribeViewModel extends React.Component {
1818 const data = JSON . stringify ( this . state ) ;
1919
2020 return this . state . isRedesignEnabled
21- ? < fui-product-subscribe-runtime props = { data } > </ fui-product-subscribe-runtime >
21+ ? < fui-product-subscribe-runtime key = { data } props = { data } > </ fui-product-subscribe-runtime >
2222 : < product-subscribe-runtime params = { data } > </ product-subscribe-runtime > ;
2323 }
2424}
Original file line number Diff line number Diff line change @@ -14,8 +14,9 @@ export class ChangePasswordViewModel extends React.Component{
1414 }
1515
1616 public render ( ) : JSX . Element {
17+ const data = JSON . stringify ( this . state ) ;
1718 return this . state . isRedesignEnabled
18- ? < fui-change-password props = { JSON . stringify ( this . state ) } > </ fui-change-password >
19- : < change-password-runtime params = { JSON . stringify ( this . state ) } > </ change-password-runtime > ;
19+ ? < fui-change-password key = { data } props = { data } > </ fui-change-password >
20+ : < change-password-runtime params = { data } > </ change-password-runtime > ;
2021 }
2122}
Original file line number Diff line number Diff line change @@ -14,8 +14,9 @@ export class ResetPasswordViewModel extends React.Component{
1414 }
1515
1616 public render ( ) : JSX . Element {
17+ const data = JSON . stringify ( this . state ) ;
1718 return this . state . isRedesignEnabled
18- ? < fui-reset-password props = { JSON . stringify ( this . state ) } > </ fui-reset-password >
19- : < reset-password-runtime params = { JSON . stringify ( this . state ) } > </ reset-password-runtime > ;
19+ ? < fui-reset-password key = { data } props = { data } > </ fui-reset-password >
20+ : < reset-password-runtime params = { data } > </ reset-password-runtime > ;
2021 }
2122}
Original file line number Diff line number Diff line change @@ -31,8 +31,10 @@ export class SignUpSocialViewModel extends React.Component {
3131 }
3232 return < placeholder-content > </ placeholder-content > ;
3333 }
34+ const data = JSON . stringify ( this . state ) ;
35+
3436 return this . state . isRedesignEnabled
35- ? < fui-signup-aad-runtime props = { JSON . stringify ( this . state ) } > </ fui-signup-aad-runtime >
36- : < signup-social-runtime params = { JSON . stringify ( this . state ) } > </ signup-social-runtime > ;
37+ ? < fui-signup-aad-runtime key = { data } props = { data } > </ fui-signup-aad-runtime >
38+ : < signup-social-runtime params = { data } > </ signup-social-runtime > ;
3739 }
3840}
Original file line number Diff line number Diff line change @@ -17,8 +17,10 @@ export class SignUpViewModel extends React.Component {
1717 }
1818
1919 public render ( ) : JSX . Element {
20+ const data = JSON . stringify ( this . state ) ;
21+
2022 return this . state . isRedesignEnabled
21- ? < fui-signup-runtime props = { JSON . stringify ( this . state ) } > </ fui-signup-runtime >
23+ ? < fui-signup-runtime key = { data } props = { data } > </ fui-signup-runtime >
2224 : < signup-runtime params = { JSON . stringify ( this . state ) } > </ signup-runtime > ;
2325 }
2426}
You can’t perform that action at this time.
0 commit comments