"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _Composer = _interopRequireDefault(require("../../features/post/Composer"));
var _types = require("../../types");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
function EditPost({
  route
}) {
  const {
    community,
    post
  } = route.params;
  return /*#__PURE__*/React.createElement(_Composer.default, {
    mode: _types.AmityPostComposerMode.EDIT,
    post: post,
    community: community
  });
}
var _default = exports.default = EditPost;
//# sourceMappingURL=EditPost.js.map