mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-30 18:16:48 +10:00
Add pendingApproval and closed listing states
This commit is contained in:
parent
2dcb9191b0
commit
0ac8144efd
1 changed files with 8 additions and 1 deletions
|
|
@ -125,8 +125,15 @@ propTypes.user = shape({
|
|||
profileImage: propTypes.image,
|
||||
});
|
||||
|
||||
export const LISTING_STATE_PENDING_APPROVAL = 'pendingApproval';
|
||||
export const LISTING_STATE_PUBLISHED = 'published';
|
||||
export const LISTING_STATES = [LISTING_STATE_PUBLISHED];
|
||||
export const LISTING_STATE_CLOSED = 'closed';
|
||||
|
||||
const LISTING_STATES = [
|
||||
LISTING_STATE_PENDING_APPROVAL,
|
||||
LISTING_STATE_PUBLISHED,
|
||||
LISTING_STATE_CLOSED,
|
||||
];
|
||||
|
||||
const listingAttributes = shape({
|
||||
title: string.isRequired,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue