Fixed flow error
このコミットが含まれているのは:
コミット
65f69a8748
1個のファイルの変更、7行の追加、1行の削除
|
|
@ -58,7 +58,12 @@ type State = {
|
||||||
*/
|
*/
|
||||||
export default class ProximoListScreen extends React.Component<Props, State> {
|
export default class ProximoListScreen extends React.Component<Props, State> {
|
||||||
|
|
||||||
modalRef = React.createRef();
|
modalRef: { current: null | Modalize };
|
||||||
|
|
||||||
|
constructor(props: any) {
|
||||||
|
super(props);
|
||||||
|
this.modalRef = React.createRef();
|
||||||
|
}
|
||||||
|
|
||||||
state = {
|
state = {
|
||||||
navData: this.props.navigation.getParam('data', []).sort(sortPrice),
|
navData: this.props.navigation.getParam('data', []).sort(sortPrice),
|
||||||
|
|
@ -226,6 +231,7 @@ export default class ProximoListScreen extends React.Component<Props, State> {
|
||||||
this.modalRef.current.open();
|
this.modalRef.current.open();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const nav = this.props.navigation;
|
const nav = this.props.navigation;
|
||||||
const navType = nav.getParam('type', '{name: "Error"}');
|
const navType = nav.getParam('type', '{name: "Error"}');
|
||||||
|
|
|
||||||
読み込み中…
新しいイシューから参照