"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _Setup = _interopRequireWildcard(require("../../features/community/Setup"));
var _native = require("@react-navigation/native");
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
function EditCommunity(_) {
  var _route$params;
  const route = (0, _native.useRoute)();
  return /*#__PURE__*/React.createElement(_Setup.default, {
    community: route === null || route === void 0 || (_route$params = route.params) === null || _route$params === void 0 ? void 0 : _route$params.community,
    mode: _Setup.AmityCommunitySetupPageMode.EDIT
  });
}
var _default = exports.default = EditCommunity;
//# sourceMappingURL=index.js.map