import AmityCommunitySetupPage, { AmityCommunitySetupPageMode } from '../../features/community/Setup';
import { useRoute } from '@react-navigation/native';
function EditCommunity(_) {
  var _route$params;
  const route = useRoute();
  return /*#__PURE__*/React.createElement(AmityCommunitySetupPage, {
    community: route === null || route === void 0 || (_route$params = route.params) === null || _route$params === void 0 ? void 0 : _route$params.community,
    mode: AmityCommunitySetupPageMode.EDIT
  });
}
export default EditCommunity;
//# sourceMappingURL=index.js.map