Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: defiedge warning on position manager (#10784)
<!-- 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 updating the localization strings and enhancing the `Header` component in the web application. It introduces a new warning message related to DeFiEdge vault maintenance and modifies the rendering logic to display this warning based on specific chain IDs. ### Detailed summary - Removed the entry for `PancakeSwap Workshop` from `translations.json`. - Added a new warning message in `translations.json` regarding DeFiEdge vault maintenance. - Introduced `DIFI_EDGE_CHAINS` constant in `Header.tsx` to define relevant chain IDs. - Modified the rendering logic in `Header` to display `DefiEdgeWarning` if the current chain ID is in `DIFI_EDGE_CHAINS`, otherwise displays `BCakeMigrationBanner`. - Added a new `DefiEdgeWarning` component to display the warning message. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
- Loading branch information