diff --git a/apps/stock-center/src/mocks/listStrainData.ts b/apps/stock-center/src/mocks/listStrainData.ts index 3d24b96b66..b962515559 100644 --- a/apps/stock-center/src/mocks/listStrainData.ts +++ b/apps/stock-center/src/mocks/listStrainData.ts @@ -15,6 +15,6 @@ const generateRandomData = () => { } const generateListStrainDataOfLength = (length: number) => - new Array(length).map(() => generateRandomData()) + new Array(length).fill(0).map(() => generateRandomData()) export { generateListStrainDataOfLength }