This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ root/entity/alias/EditForm.js:93:33 | |
Cannot call setState with object literal bound to the first parameter because: | |
• read-only array type [1] is incompatible with array type [2] in property errors. | |
• number [3] is incompatible with string [4] in property value. | |
• string [5] is incompatible with number [6] in property value. | |
root/entity/alias/EditForm.js | |
90│ entityType={entityType} | |
91│ field={state.aliasName} | |
92│ onChangeInput={(e) => { | |
93│ return setState({ | |
94│ ...state, | |
95│ aliasName: { | |
96│ ...state.aliasName, | |
97│ value: e.target.value, | |
98│ }, | |
99│ }); | |
100│ }} | |
101│ onPressGuessCaseOptions={() => { | |
102│ const $ = require('jquery'); | |
root/types.js | |
[2] 481│ errors: Array<string>, | |
: | |
[1] 493│ +errors: $ReadOnlyArray<string>, | |
root/components/FormRowNameWithGuesscase.js | |
[4] 21│ locale: FieldT<string>, | |
22│ sortName: FieldT<string>, | |
[6] 23│ type: FieldT<number>, | |
root/components/FormRowSelect.js | |
[3][5] 21│ +field: ReadOnlyFieldT<number | string>, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment