File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const defaultProps = {
2222 cwCookie : '' ,
2323 user : { } ,
2424 locale : 'en' ,
25- customattributes : { } ,
25+ customAttributes : { } ,
2626} ;
2727
2828const WebViewComponent = ( {
@@ -34,7 +34,7 @@ const WebViewComponent = ({
3434 customAttributes,
3535 closeModal,
3636} ) => {
37- let widgetUrl = `${ baseUrl } /widget?website_token=${ websiteToken } &locale=en ` ;
37+ let widgetUrl = `${ baseUrl } /widget?website_token=${ websiteToken } &locale=${ locale } ` ;
3838
3939 if ( cwCookie ) {
4040 widgetUrl = `${ widgetUrl } &cw_conversation=${ cwCookie } ` ;
@@ -87,7 +87,7 @@ const styles = StyleSheet.create({
8787 } ,
8888 webViewContainer : {
8989 flex : 1 ,
90- }
90+ } ,
9191} ) ;
9292WebViewComponent . defaultProps = defaultProps ;
9393WebViewComponent . propTypes = propTypes ;
You can’t perform that action at this time.
0 commit comments