import * as React from "react"; import * as Constants from "~/common/constants"; import * as System from "~/components/system"; import { dispatchCustomEvent } from "~/common/custom-events"; export default class SidebarDeleteWalletAddress extends React.Component { _handleSubmit = () => { dispatchCustomEvent({ name: "create-alert", detail: { alert: { message: "Deleting wallet address...", status: "INFO" }, }, }); this.props.onSubmit({}); }; _handleCancel = () => { this.props.onCancel(); }; _handleChange = (e) => { this.setState({ [e.target.name]: e.target.value }); }; render() { return (