Skip to content

Commit

Permalink
Adjust routing types
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr committed Dec 18, 2023
1 parent a20ce7c commit 0b3ccb5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/apps-routing/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ export interface RouteProps extends AppProps, BareProps {
}

export interface Route {
// FIXME This is weird, we really expect the memo to be there...
Component: React.ComponentType<RouteProps> | React.MemoExoticComponent<any>;
Modal?: React.ComponentType<any> | React.MemoExoticComponent<any>;
Component: React.ComponentType<any>;
Modal?: React.ComponentType<any>;
display: {
isDevelopment?: boolean;
isHidden?: boolean;
Expand Down

0 comments on commit 0b3ccb5

Please sign in to comment.