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