Skip to content

Commit

Permalink
Update packages/react-router/lib/router/utils.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Michaël De Boey <[email protected]>
  • Loading branch information
AlemTuzlak and MichaelDeBoey authored Dec 17, 2024
1 parent 5c9a94b commit 71c7778
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/react-router/lib/router/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,7 @@ export interface ShouldRevalidateFunction {
(args: ShouldRevalidateFunctionArgs): boolean;
}

export interface LayoutComponentProps {
children: ReactNode
}
export type LayoutComponentProps = PropsWithChildren;

export interface DataStrategyMatch
extends AgnosticRouteMatch<string, AgnosticDataRouteObject> {
Expand Down

0 comments on commit 71c7778

Please sign in to comment.