Skip to content

Commit

Permalink
Added more launch weeks
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalikmay committed Sep 18, 2024
1 parent 9ccbef8 commit 6ca779a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ui/SelectLaunchDate/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default ({ label, value, className = '', validate, setAllWeeks = () => {}

const productsService = new ProductsService(createBrowserClient());
const startWeek = await productsService.getWeekNumber(startDate, 2);
const result = await productsService.getProductsCountByWeek(startWeek + 1, startWeek + 32, startDate.getFullYear());
const result = await productsService.getProductsCountByWeek(startWeek + 1, startWeek + 40, startDate.getFullYear());
setWeeks(result);
setAllWeeks(result);
// const x = weeks.filter(item => item.week == 11)
Expand Down

0 comments on commit 6ca779a

Please sign in to comment.