You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while writing post, it's stored in local storage. It's saved as draft when the user closes the tab or clicks back, etc. To save the post in the database, you can add an event listener to the window's `beforeunload` event. Here's an example: