typing for children prop
This commit is contained in:
parent
6ee247a231
commit
05199570c2
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ export default function WrongTeamDisplayWrapper({
|
|||
wrongTeamData: WrongTeamData;
|
||||
objectName: string;
|
||||
pageName: string;
|
||||
children: any;
|
||||
children: () => JSX.Element;
|
||||
}) {
|
||||
if (!wrongTeamData.isError) return children();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue