diff --git a/app/views/InviteUsersView/index.tsx b/app/views/InviteUsersView/index.tsx index aa2e8ef3d..51838f27a 100644 --- a/app/views/InviteUsersView/index.tsx +++ b/app/views/InviteUsersView/index.tsx @@ -121,7 +121,7 @@ class InviteUsersView extends React.Component { } const mapStateToProps = (state: IApplicationState) => ({ - timeDateFormat: state.settings.Message_TimeAndDateFormat, + timeDateFormat: state.settings.Message_TimeAndDateFormat as string, invite: state.inviteLinks.invite });