Add explicit type
This commit is contained in:
parent
0257b99007
commit
602c883edd
1 changed files with 1 additions and 2 deletions
|
|
@ -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: [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue