import React from 'react' import { useRouter } from 'next/router' import Party from '~components/Party' const PartyRoute: React.FC = () => { const { party: slug } = useRouter().query return (
) // function renderNotFound() { // return ( //
//

There's no grid here.

// //
// ) // } // if (!found && !loading) { // return renderNotFound() // } else if (found && !loading) { // return render() // } else { // return (
) // } } export default PartyRoute