Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Make useMedia options an optional param #2811

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Conversation

melnikov-s
Copy link
Contributor

Description

Fixes (issue #)

Makes the options parameter to useMedia be optional as intended

@melnikov-s melnikov-s requested a review from a team as a code owner July 16, 2024 22:12
@@ -0,0 +1,5 @@
---
'@shopify/react-hooks': minor
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be a patch?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah maybe. Though it already got released due to a bad push to an unprotected main branch https://www.npmjs.com/package/@shopify/react-hooks

Keeping it as-is to avoid version issues

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even if the minor has been released when this PR goes in it will just do a patch bump so there shouldn't be an issue I don't think.

@melnikov-s melnikov-s force-pushed the use-media-optional-options branch 3 times, most recently from 6e088dd to 5f54bce Compare July 17, 2024 15:12
@melnikov-s melnikov-s merged commit 2b70145 into main Jul 17, 2024
5 checks passed
@melnikov-s melnikov-s deleted the use-media-optional-options branch July 17, 2024 15:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants