Aias00 opened a new issue, #971: URL: https://github.com/apache/rocketmq-dashboard/issues/971
## Problem The frontend lint pass reports four `react-refresh/only-export-components` warnings. `LangContext.tsx` and `ThemeContext.tsx` export both React providers and non-component context hooks, while `main.tsx` defines the root component beside the render call. ## Expected behavior Separate provider components from context/hooks and move the root component out of the entry module so `npm run lint` completes without Fast Refresh warnings. ## Scope - preserve existing context public APIs and UI behavior - move providers/root component to focused component modules - add or adjust focused tests only where required Track: Studio frontend quality. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
