Rename valueOf to fromJSON
This commit is contained in:
parent
16352502cf
commit
532eeb5a1d
9 changed files with 30 additions and 30 deletions
|
@ -12,7 +12,7 @@ interface Props {
|
|||
|
||||
class KeymapsForm extends React.Component<Props> {
|
||||
public static defaultProps: Props = {
|
||||
value: FormKeymaps.valueOf({}),
|
||||
value: FormKeymaps.fromJSON({}),
|
||||
onChange: () => {},
|
||||
onBlur: () => {},
|
||||
};
|
||||
|
|
Reference in a new issue