Skip to content

Commit

Permalink
chore(data-warehouse): fix close button (#18918)
Browse files Browse the repository at this point in the history
fix close button
  • Loading branch information
EDsCODE authored Nov 27, 2023
1 parent 03f0412 commit 3ddede2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export function DataWarehouseExternalScene(): JSX.Element {
/>
)}
{!shouldShowEmptyState && <DataWarehouseTablesContainer />}
<SourceModal isOpen={isSourceModalOpen} onClose={toggleSourceModal} />
<SourceModal isOpen={isSourceModalOpen} onClose={() => toggleSourceModal(false)} />
</div>
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export function DataWarehouseSettingsScene(): JSX.Element {
},
]}
/>
<SourceModal isOpen={isSourceModalOpen} onClose={toggleSourceModal} />
<SourceModal isOpen={isSourceModalOpen} onClose={() => toggleSourceModal(false)} />
</div>
)
}

0 comments on commit 3ddede2

Please sign in to comment.