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 for not storing drafts in local storage and auto Saving in 5 sec #271

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AliYar-Khan
Copy link

Pull Request Title

Fix for not storing drafts in local storage and auto Saving in 5 sec

Description

Issue reported was the while write an article, the drafts were not being saved in local storage. Also, the interval for saving was set to 15 sec.

Resolves #226

Linked Issues

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Changes

  • remove statement that was assigning undefined to the draft
  • change the interval of autosaving from 15 sec to 5 sec

Screenshots/Recordings

Checklist before requesting a review

  • I have performed a self-review of my code
  • I assure there are no similar/duplicate pull requests regarding the same issue
  • My changes follow the project's coding guidelines and best practices
  • Code is formatted properly and lint check passes successfully
  • I have made corresponding changes to the documentation (if applicable)

- store in local storage
- auto save in 5 sec
Copy link

vercel bot commented Sep 25, 2024

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

Name Status Preview Comments Updated (UTC)
medium-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 25, 2024 3:03pm

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.

Bug | AutoSave is not actually autosaving
1 participant