supermemoryai / supermemory

Build your own second brain with supermemory. It's a ChatGPT for your bookmarks. Import tweets or save websites and content using the chrome extension.
https://supermemory.ai
MIT License
7.04k stars 679 forks source link

fixes #146 multiple memory submission bug #230

Closed Yh010 closed 2 months ago

Yh010 commented 2 months ago

Fixes Multiple Memory Submission Bug

Overview

This pull request addresses issue #146 by implementing a solution to prevent multiple submissions of a form, which was causing memory-related bugs. The main change involves utilizing the useFormStatus hook to manage the state of the submit button, ensuring it is disabled during form submission.

Changes

✨ Generated with love by Kaizen ❤️

Original Description used useFormStatus to disable to submit button
kaizen-bot[bot] commented 2 months ago

Code Review

All Clear: This PR is ready to merge! 👍

✨ Generated with love by Kaizen ❤️

Useful Commands
Yh010 commented 2 months ago

@CodeTorso @Dhravya this is a fresh PR in reference to #155 .

Dhravya commented 2 months ago

Are you sure this fixes it though?