refactor(frontend): replace status string literals with constants
- Create constants/statuses.js with MATCH_STATUS, SUGGESTION_STATUS, MATCH_FILTER - Update MatchCard, MatchesPage, HistoryPage, RatePartnerPage to use MATCH_STATUS - Update RecordingTab to use SUGGESTION_STATUS - Update Navbar to use MATCH_STATUS for API calls
This commit is contained in:
1
frontend/src/constants/index.js
Normal file
1
frontend/src/constants/index.js
Normal file
@@ -0,0 +1 @@
|
||||
export { MATCH_STATUS, SUGGESTION_STATUS, MATCH_FILTER } from './statuses';
|
||||
Reference in New Issue
Block a user