dev_hjm
hjm 6 years ago
parent b78ee4d27e
commit 8687aecbbf

@ -6,7 +6,7 @@ import axios from 'axios'
function CRoundSelect (props) { function CRoundSelect (props) {
const [open, setOpen] = useState(true) const [open, setOpen] = useState(false)
const theme = useContext(ThemeContext); const theme = useContext(ThemeContext);
const { category, changeCategory, categories, right, width, items, const { category, changeCategory, categories, right, width, items,
sortKey, onSortChange } = props; sortKey, onSortChange } = props;

@ -40,7 +40,7 @@ function usePagination() {
onChange: onPageChange onChange: onPageChange
} }
} }
const PAGE_SIZE = 3 const PAGE_SIZE = 4
const DEFAULT_VIDEO_WIDTH_IN_MD = "90%" // 400 const DEFAULT_VIDEO_WIDTH_IN_MD = "90%" // 400
const DEFAULT_VIDEO_HEIGHT_IN_MD = "55%" // 400 const DEFAULT_VIDEO_HEIGHT_IN_MD = "55%" // 400
let videoId = {}; let videoId = {};

Loading…
Cancel
Save