Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please the linter gods #117

Merged
merged 1 commit into from
Jan 24, 2020
Merged

Please the linter gods #117

merged 1 commit into from
Jan 24, 2020

Conversation

kaisermann
Copy link
Contributor

@kaisermann kaisermann commented Jan 24, 2020

What is the purpose of this pull request?

And fix a possible .sort() bug.

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Requires change to documentation, which has been updated accordingly.

@vtex-io-ci-cd
Copy link
Contributor

vtex-io-ci-cd bot commented Jan 24, 2020

Hi! I'm VTEX IO CI/CD Bot and I'll be helping you to publish your app! 🤖

Please select which version do you want to release:

  • Patch

  • Minor

  • Major

And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.

  • No thanks, I would rather do it manually 😞

@vtex-io-docs-bot
Copy link

Beep boop 🤖

Thank you so much for keeping our documentation up-to-date ❤️

@@ -59,7 +59,7 @@ const useCumulativeHeightState = () => {
const getAccumulatedHeight = (index: number) => {
const sortedIndices = Object.keys(state)
.map(key => parseInt(key, 10))
.sort()
.sort((a, b) => a - b)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Probably no one will have 9+ sticky rows, but if they do, this would sort it alphabetically 1, 10, 2, 3, 4....

@kaisermann kaisermann requested a review from a team January 24, 2020 14:49
@kaisermann kaisermann merged commit 7478596 into master Jan 24, 2020
@kaisermann kaisermann deleted the refactor/lint branch January 24, 2020 14:52
@vtex-io-ci-cd
Copy link
Contributor

vtex-io-ci-cd bot commented Jan 24, 2020

Your PR has been merged! App is being published. 🚀
Version 2.25.0 → 2.25.1

After the publishing process has been completed (check #vtex-io-notifications) and doing A/B tests with the new version, you can deploy your release by running:

vtex deploy vtex.store-header@2.25.1

After that your app will be updated on all accounts.

For more information on the deployment process check the docs. 📖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants