fix
This commit is contained in:
@@ -39,8 +39,7 @@ class ProductSelector extends ConsumerWidget {
|
||||
message: error.toString(),
|
||||
onRetry: () => ref.refresh(productsProvider),
|
||||
),
|
||||
data: (paginationState) {
|
||||
final products = paginationState.products;
|
||||
data: (products) {
|
||||
|
||||
if (products.isEmpty) {
|
||||
return const EmptyState(
|
||||
|
||||
Reference in New Issue
Block a user