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

🐛 fix yearly message graph being backward #29

Merged
merged 1 commit into from
Nov 10, 2022
Merged

🐛 fix yearly message graph being backward #29

merged 1 commit into from
Nov 10, 2022

Conversation

maxwellward
Copy link
Collaborator

@maxwellward maxwellward commented Nov 10, 2022

Fixes yearly message graph being backwards by adding items to the start of the array instead of the end. There may be a more efficient way to do this whole calculation, which I may look into in the future, so for now this method of using unshift works fine.

Closes #27

@netlify
Copy link

netlify bot commented Nov 10, 2022

Deploy Preview for discordpackage ready!

Name Link
🔨 Latest commit 214c1a3
🔍 Latest deploy log https://app.netlify.com/sites/discordpackage/deploys/636c5cbb38ea630009ba3f13
😎 Deploy Preview https://deploy-preview-29--discordpackage.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Owner

@peterhanania peterhanania left a comment

Choose a reason for hiding this comment

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

I tested it and yes it works perfectly now. Thanks

@peterhanania peterhanania merged commit c490414 into peterhanania:main Nov 10, 2022
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.

The yearly messages view is displaying in the wrong order
2 participants