Skip to content

Commit

Permalink
Merge pull request #3999 from anewgard41/develop
Browse files Browse the repository at this point in the history
WV-481 - topics under candidates (on ballot) go away and then return sometimes TEAM REVIEW
  • Loading branch information
DaleMcGrew authored Aug 23, 2024
2 parents 49ed159 + 1540d88 commit 0ad3ff2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/js/components/Ballot/BallotScrollingContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import PositionRowEmpty from './PositionRowEmpty';
import PositionRowList from './PositionRowList';

const BallotItemSupportOpposeScoreDisplay = React.lazy(() => import(/* webpackChunkName: 'BallotItemSupportOpposeScoreDisplay' */ '../Widgets/ScoreDisplay/BallotItemSupportOpposeScoreDisplay'));
const DelayedLoad = React.lazy(() => import(/* webpackChunkName: 'DelayedLoad' */ '../../common/components/Widgets/DelayedLoad'));
const ImageHandler = React.lazy(() => import(/* webpackChunkName: 'ImageHandler' */ '../ImageHandler'));
const IssuesByBallotItemDisplayList = React.lazy(() => import(/* webpackChunkName: 'IssuesByBallotItemDisplayList' */ '../Values/IssuesByBallotItemDisplayList'));
const ItemActionBar = React.lazy(() => import(/* webpackChunkName: 'ItemActionBar' */ '../Widgets/ItemActionBar/ItemActionBar'));
Expand Down Expand Up @@ -185,13 +184,11 @@ class BallotScrollingContainer extends Component {
<CandidateBottomRow>
{!hideCandidateDetails && (
<Suspense fallback={<></>}>
<DelayedLoad waitBeforeShow={500}>
<IssuesByBallotItemDisplayList
<IssuesByBallotItemDisplayList
ballotItemDisplayName={oneCandidate.ballot_item_display_name}
ballotItemWeVoteId={oneCandidate.we_vote_id}
externalUniqueId={`officeItemCompressed-${oneCandidate.we_vote_id}-${externalUniqueId}`}
/>
</DelayedLoad>
/>
</Suspense>
)}
{!hideItemActionBar && (
Expand Down

0 comments on commit 0ad3ff2

Please sign in to comment.