Refactor code

This commit is contained in:
2023-11-02 23:24:03 +07:00
parent cc147f071c
commit 6560c304c3
28 changed files with 163 additions and 157 deletions
+10 -1
View File
@@ -74,7 +74,16 @@ const ROOM_PAGE = {
],
}
const INITIAL_STATE_SCHEMA = {
id: '',
name: '',
identifiedCode: '',
phone: '',
roomId: 'undefined',
address: '',
};
const VALUE = 'value';
const ERROR = 'error';
export { USER_PAGE, ROOM_PAGE, VALUE, ERROR };
export { USER_PAGE, ROOM_PAGE, VALUE, ERROR, INITIAL_STATE_SCHEMA };