muba-posting 8.0.3 → 8.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/Publish6.js +1 -3
  2. package/package.json +1 -1
package/Publish6.js CHANGED
@@ -23,8 +23,6 @@ export default class Publish6 extends React.Component {
23
23
 
24
24
  this.languageItem = [];
25
25
 
26
- this.phoneGroup = React.createRef();
27
-
28
26
  this.state = {
29
27
  hideSave: false,
30
28
  requiredPhoneError: false,
@@ -205,7 +203,7 @@ export default class Publish6 extends React.Component {
205
203
  </View>
206
204
 
207
205
  <PhoneGroup
208
- ref={this.phoneGroup}
206
+ ref={(phoneGroup) => this.phoneGroup = phoneGroup}
209
207
  inputStyle={commonStyles.input}
210
208
  phoneBoxStyle={this.state.requiredPhoneError ? commonStyles.inputPhoneBoxError : commonStyles.inputPhoneBox}
211
209
  value={this.props.postingAd.phonesObject}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muba-posting",
3
- "version": "8.0.3",
3
+ "version": "8.0.4",
4
4
  "description": "Posting",
5
5
  "main": "Posting.js",
6
6
  "scripts": {