Skip to content

Commit

Permalink
#306: blocl IRA page modal to automatically open
Browse files Browse the repository at this point in the history
  • Loading branch information
pengyin-shan committed Aug 1, 2024
1 parent c6d1489 commit db7c2ed
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

Check failure on line 67 in src/pages/IRAPage.tsx

View workflow job for this annotation

GitHub Actions / Test Suite

Expected exception block, space or tab after '//' in comment

Check failure on line 67 in src/pages/IRAPage.tsx

View workflow job for this annotation

GitHub Actions / Test Suite

Expected exception block, space or tab after '//' in comment
}, []);
const handleOpen = () => {
setModalOpen(true);
Expand Down

0 comments on commit db7c2ed

Please sign in to comment.