Skip to content

Commit

Permalink
Fix TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
Gildas Garcia committed Apr 17, 2019
1 parent 3298d42 commit a891d9c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/ra-ui-materialui/src/auth/Logout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ const mapDispatchToProps = (dispatch, { redirectTo }) => ({
userLogout: () => dispatch(userLogoutAction(redirectTo)),
});

const enhance = compose<Props & EnhancedProps, Props>(
const enhance = compose<
Props & EnhancedProps & MenuItemProps,
Props & MenuItemProps
>(
withTranslate,
connect(
undefined,
Expand Down

0 comments on commit a891d9c

Please sign in to comment.