diff --git a/.changeset/stale-coats-shave.md b/.changeset/stale-coats-shave.md new file mode 100644 index 0000000000..1f2738b9a9 --- /dev/null +++ b/.changeset/stale-coats-shave.md @@ -0,0 +1,5 @@ +--- +"@medusajs/dashboard": patch +--- + +fix(dashboard): pass prefix to useDataTable to fix product list not paginating diff --git a/packages/admin/dashboard/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-products-form.tsx b/packages/admin/dashboard/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-products-form.tsx index ad8c8f659e..a2fdc90cce 100644 --- a/packages/admin/dashboard/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-products-form.tsx +++ b/packages/admin/dashboard/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-products-form.tsx @@ -109,6 +109,7 @@ export const PriceListProductsForm = ({ form }: PriceListProductsFormProps) => { updater, }, pageSize: PAGE_SIZE, + prefix: PREFIX, }) if (isError) {