mirror of
https://github.com/Nezumi-2711/react-training.git
synced 2026-09-22 20:01:59 +00:00
Remove unnecessary code
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user