Components should not render at all in case it's an invalidElection.
There's an exception tho: the title uses the election id as a fallback, and that's the only information we have in an InvalidElection, so the ElectionTitle should at least render the id in these cases.
Components should not render at all in case it's an invalidElection.
There's an exception tho: the title uses the election id as a fallback, and that's the only information we have in an InvalidElection, so the
ElectionTitle
should at least render the id in these cases.