Jaime Ramírez
2020-06-11 d4efcf556bee5599b87a18da9420df2143e1c757
adopt-a-pup/web-app/src/Components/NotificationRequestForm.tsx
@@ -37,7 +37,8 @@
    }
}
export default class NotificationRequestForm extends React.Component<NotificationRequestFormProps, NotificationRequestFormState> {
export default class NotificationRequestForm
    extends React.Component<NotificationRequestFormProps, NotificationRequestFormState> {
    constructor(props: NotificationRequestFormProps) {
        super(props);
@@ -57,7 +58,7 @@
                header: "",
                message: ""
            }
        }
        };
    }
    private static getEmptyFields(): AnimalNotificationRequest {
@@ -86,7 +87,7 @@
            <React.Fragment>
                {this.state.isSubmitting ? this.renderLoader() : this.renderForm()}
            </React.Fragment>
        )
        );
    }
    public renderForm() {
@@ -176,14 +177,14 @@
                        onChange={this.handleApproximateSizeChange.bind(this)}
                        aria-label="Select approximate size">
                        <FormSelectOption label={"None"}
                                          value={null}
                                          key={"None"}/>
                            value={null}
                            key={"None"}/>
                        {Object.keys(ApproximateSize).map((approximateSize) => {
                            return <FormSelectOption
                                key={approximateSize}
                                value={approximateSize}
                                label={approximateSize}
                            />
                            />;
                        })}
                    </FormSelect>
                </FormGroup>
@@ -191,7 +192,7 @@
                    <Button variant="primary" type={ButtonType.submit}>Subscribe</Button>
                </ActionGroup>
            </Form>
        )
        );
    }
    private handleNameChange(username: string) {