Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: 🐛 fix proposal submit issue (#11107)
<!-- Before opening a pull request, please read the [contributing guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md) first --> <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on enhancing the `CreateProposal` component in the voting system by integrating `react-hook-form` for form management, adding new translations, and improving the handling of proposal submissions. ### Detailed summary - Added `react-hook-form` for form management in `CreateProposal`. - Introduced new translations in `translations.json`. - Added `spaceAtom` for managing space data. - Enhanced error handling for form submissions. - Updated date and time handling for proposal start and end. - Improved voting power display with tooltips. - Wrapped `CreateProposal` in a suspense component for better loading UX. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
- Loading branch information