Skip to content

Commit

Permalink
fix(icestark): fix AppRouter props type #667 (#746)
Browse files Browse the repository at this point in the history
Co-authored-by: fiyueyue <[email protected]>
  • Loading branch information
gmqiyue and fiyueyue authored Jul 31, 2024
1 parent 9c98be6 commit 10a882c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/icestark/src/AppRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ interface AppRouterState {
started: boolean;
}

export default class AppRouter extends React.Component<AppRouterProps, AppRouterState> {
export default class AppRouter extends React.Component<React.PropsWithChildren<AppRouterProps>, AppRouterState> {
static defaultProps = {
onRouteChange: () => {},
// eslint-disable-next-line react/jsx-filename-extension
Expand Down

0 comments on commit 10a882c

Please sign in to comment.