refactor(frontend): add CONNECTION_STATE and SUGGESTION_TYPE constants

- Add CONNECTION_STATE (disconnected, connecting, connected, failed)
- Add SUGGESTION_TYPE (toBeRecorded, toRecord)
- Update useWebRTC.js to use CONNECTION_STATE
- Update MatchChatPage.jsx to use CONNECTION_STATE
- Update RecordingTab.jsx to use SUGGESTION_TYPE
This commit is contained in:
Radosław Gierwiało
2025-11-23 22:28:54 +01:00
parent b3a6d39d7a
commit 408317b974
5 changed files with 54 additions and 28 deletions

View File

@@ -1 +1,7 @@
export { MATCH_STATUS, SUGGESTION_STATUS, MATCH_FILTER } from './statuses';
export {
MATCH_STATUS,
SUGGESTION_STATUS,
MATCH_FILTER,
CONNECTION_STATE,
SUGGESTION_TYPE,
} from './statuses';