cleanup from last PR
This commit is contained in:
parent
026b416ca1
commit
a4c9115063
2 changed files with 2 additions and 2 deletions
|
@ -281,7 +281,7 @@ function ClaimListDiscover(props: Props) {
|
||||||
if (durationParam === CS.DURATION_SHORT) {
|
if (durationParam === CS.DURATION_SHORT) {
|
||||||
options.duration = '<=240';
|
options.duration = '<=240';
|
||||||
} else if (durationParam === CS.DURATION_LONG) {
|
} else if (durationParam === CS.DURATION_LONG) {
|
||||||
options.duration = '>=1800';
|
options.duration = '>=1200';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ export const ORDER_BY_TYPES = [ORDER_BY_TRENDING, ORDER_BY_NEW, ORDER_BY_TOP];
|
||||||
export const DURATION_SHORT = 'short';
|
export const DURATION_SHORT = 'short';
|
||||||
export const DURATION_LONG = 'long';
|
export const DURATION_LONG = 'long';
|
||||||
export const DURATION_ALL = 'all';
|
export const DURATION_ALL = 'all';
|
||||||
export const DURATION_TYPES = [DURATION_ALL, DURATION_LONG, DURATION_SHORT];
|
export const DURATION_TYPES = [DURATION_ALL, DURATION_SHORT, DURATION_LONG];
|
||||||
|
|
||||||
export const FILE_VIDEO = 'video';
|
export const FILE_VIDEO = 'video';
|
||||||
export const FILE_AUDIO = 'audio';
|
export const FILE_AUDIO = 'audio';
|
||||||
|
|
Loading…
Reference in a new issue