diff --git a/landing/investor-data.js b/landing/investor-data.js --- a/landing/investor-data.js +++ b/landing/investor-data.js @@ -1,6 +1,7 @@ // @flow import _keyBy from 'lodash/fp/keyBy'; +import _shuffle from 'lodash/fp/shuffle'; import { assetsCacheURLPrefix } from './asset-meta-data'; @@ -778,8 +779,12 @@ }, ]; +const shuffledInvestorsData: $ReadOnlyArray = _shuffle( + investorsData, +); + const keyedInvestorData: { [key: string]: Investors } = _keyBy('id')( investorsData, ); -export { investorsData, keyedInvestorData }; +export { shuffledInvestorsData, keyedInvestorData }; diff --git a/landing/investors.react.js b/landing/investors.react.js --- a/landing/investors.react.js +++ b/landing/investors.react.js @@ -4,7 +4,7 @@ import { useModalContext } from 'lib/components/modal-provider.react'; -import { investorsData } from './investor-data'; +import { shuffledInvestorsData } from './investor-data'; import InvestorProfileModal from './investor-profile-modal.react'; import InvestorProfile from './investor-profile.react'; import css from './investors.css'; @@ -18,7 +18,7 @@ ); const investors = React.useMemo(() => { - return investorsData.map(investor => ( + return shuffledInvestorsData.map(investor => (