Add explicit type

This commit is contained in:
Justin Edmund 2022-11-16 05:16:07 -08:00
parent 0257b99007
commit 602c883edd

View file

@ -14,7 +14,7 @@ interface Props {
sortedRaids: Raid[][] sortedRaids: Raid[][]
} }
const PartyRoute: React.FC<Props> = (props) => { const PartyRoute: React.FC<Props> = (props: Props) => {
return ( return (
<div id="Content"> <div id="Content">
<Party team={props.party} raids={props.sortedRaids} /> <Party team={props.party} raids={props.sortedRaids} />
@ -22,7 +22,6 @@ const PartyRoute: React.FC<Props> = (props) => {
) )
} }
// prettier-ignore
export const getServerSidePaths = async () => { export const getServerSidePaths = async () => {
return { return {
paths: [ paths: [