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: update logic to handle index of 0 #56

Merged
merged 5 commits into from
Jan 26, 2024

Conversation

MonsterPi13
Copy link
Contributor

Hi there,

I noticed that when the index equals 0, the update logic is not triggered, which seems incorrect.

The if (index) check appears unnecessary and could be removed to fix this bug. Deleting that line would allow the update to correctly run even when index is 0.

Copy link

vercel bot commented Jan 25, 2024

Someone is attempting to deploy a commit to a Personal Account owned by @suyalcinkaya on Vercel.

@suyalcinkaya first needs to authorize it.

Copy link

vercel bot commented Jan 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
onurdev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 26, 2024 9:12am

@suyalcinkaya suyalcinkaya changed the title Fix update logic to handle index of 0 fix: update logic to handle index of 0 Jan 26, 2024
@suyalcinkaya suyalcinkaya merged commit c24762b into suyalcinkaya:master Jan 26, 2024
1 check passed
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

2 participants