"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_dom_1 = require("react-router-dom");
var DashboardModal_1 = require("./DashboardModal");
var getWindowConfirmation_1 = require("../../core/utils/getWindowConfirmation");
var useProperty_1 = require("../hooks/useProperty");
var getStyleForTopLevelComponent_1 = require("../../core/utils/getStyleForTopLevelComponent");
exports.ManualDashboard = function (_a) {
    var walletService = _a.walletService, isVisible = _a.isVisible, onClose = _a.onClose, className = _a.className;
    return (react_1.default.createElement("div", { className: getStyleForTopLevelComponent_1.getStyleForTopLevelComponent(className) },
        react_1.default.createElement(react_router_dom_1.MemoryRouter, { initialEntries: ['/dashboard/funds'], getUserConfirmation: getWindowConfirmation_1.getWindowConfirmation }, useProperty_1.useProperty(isVisible) && (react_1.default.createElement(DashboardModal_1.DashboardModal, { walletService: walletService, onClose: onClose })))));
};
//# sourceMappingURL=ManualDashboard.js.map