"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importDefault(require("react"));
var react_router_1 = require("react-router");
exports.SubDialogHeader = function (_a) {
    var ensName = _a.ensName;
    var history = react_router_1.useHistory();
    return (react_1.default.createElement("div", { className: "udashboard-subheader" },
        react_1.default.createElement("button", { onClick: function () { return history.goBack(); }, className: "udashboard-back-btn" }),
        react_1.default.createElement("p", { className: "udashboard-ens" }, ensName)));
};
//# sourceMappingURL=SubDialogHeader.js.map