Remove unnecessary code

This commit is contained in:
2023-11-05 10:50:05 +07:00
parent aeb1923e40
commit e82fb39787
8 changed files with 26 additions and 69 deletions
@@ -22,16 +22,6 @@ const USER_PAGE = {
label: 'Sort by room',
},
],
ORDERBY_OPTIONS: [
{
value: 'asc',
label: 'Ascending',
},
{
value: 'desc',
label: 'Descending',
},
],
};
const ORDERBY_OPTIONS = [
@@ -60,25 +50,9 @@ const ROOM_PAGE = {
value: 'price',
label: 'Sort by price',
},
{
value: 'discount',
label: 'Sort by discount',
},
{
value: 'status',
label: 'Sort by status',
},
],
}
const INITIAL_STATE_SCHEMA = {
id: '',
name: '',
identifiedCode: '',
phone: '',
roomId: 'undefined',
address: '',
};
const VALUE = 'value';
const ERROR = 'error';
@@ -87,7 +61,6 @@ const INIT_VALUE_USER_FORM = {
name: '',
id: 0,
identifiedCode: '',
address: '',
phone: '',
};
@@ -96,7 +69,6 @@ export {
ROOM_PAGE,
VALUE,
ERROR,
INITIAL_STATE_SCHEMA,
ORDERBY_OPTIONS,
INIT_VALUE_USER_FORM
};