Skip to content

Commit

Permalink
Merge pull request #4077 from ProjectMirador/cbeer-patch-2
Browse files Browse the repository at this point in the history
Add forwardRef to the CompanionWindow container
  • Loading branch information
marlo-longley authored Jan 16, 2025
2 parents 40f05d2 + 04f4763 commit 6c5204c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/CompanionWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const mapDispatchToProps = (dispatch, { windowId, id }) => ({
});

const enhance = compose(
connect(mapStateToProps, mapDispatchToProps),
connect(mapStateToProps, mapDispatchToProps, null, { forwardRef: true }),
withPlugins('CompanionWindow'),
);

Expand Down

0 comments on commit 6c5204c

Please sign in to comment.