refactor: prepare types for React 19 (#10746)

This commit is contained in:
Sébastien Lorber 2024-12-06 18:03:04 +01:00 committed by GitHub
parent e9f0641620
commit f9825af43e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
296 changed files with 1105 additions and 915 deletions

View file

@ -78,7 +78,7 @@ function TeamProfileCardCol(props: ProfileProps) {
);
}
export function ActiveTeamRow(): JSX.Element {
export function ActiveTeamRow(): ReactNode {
return (
<div className="row">
<TeamProfileCardCol
@ -117,7 +117,7 @@ export function ActiveTeamRow(): JSX.Element {
);
}
export function HonoraryAlumniTeamRow(): JSX.Element {
export function HonoraryAlumniTeamRow(): ReactNode {
return (
<div className="row">
<TeamProfileCardCol
@ -168,7 +168,7 @@ export function HonoraryAlumniTeamRow(): JSX.Element {
);
}
export function StudentFellowsTeamRow(): JSX.Element {
export function StudentFellowsTeamRow(): ReactNode {
return (
<div className="row">
<TeamProfileCardCol