yiming
2024-03-06 bcd706eeb0c7f9e36ee4803386e52ce2bc0510f6
1
2
3
4
5
6
7
import { getActivity } from './activity';
 
export function getActivityList(baseID = 0, length = 10) {
  return new Array(length).fill(0).map((_, idx) => getActivity(idx + baseID));
}
 
export const activityList = getActivityList();