Skip to content

Commit

Permalink
Merge pull request #307 from policy-design-lab/issue_306_block_IRA_po…
Browse files Browse the repository at this point in the history
…p-up

#306: Block the IRA page modal to automatically open
  • Loading branch information
pengyin-shan authored Aug 1, 2024
2 parents c6d1489 + af64016 commit 4768679
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [unreleased]

### Fixed
- Block the EQIP IRA information modal from opening automatically when the page loads due to the size of the article's iframe. [#306](https://github.com/policy-design-lab/pdl-frontend/issues/306)

## [1.0.2] - 2024-07-23

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/pages/IRAPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default function IRAPage(): JSX.Element {

// Modal
React.useEffect(() => {
setModalOpen(true);
// setModalOpen(true); // #306: Block the model to be auto-opened due to the size of iframe
}, []);
const handleOpen = () => {
setModalOpen(true);
Expand Down

0 comments on commit 4768679

Please sign in to comment.