Skip to content

Commit 5819aa4

Browse files
categoryId -> categoryRef
1 parent 98b19df commit 5819aa4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

catalyst_voices/apps/voices/lib/pages/category/category_page.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ class _CategoryDetailContent extends StatelessWidget {
141141
}
142142

143143
class _CategoryDetailError extends StatelessWidget {
144-
final SignedDocumentRef categoryId;
144+
final SignedDocumentRef categoryRef;
145145

146-
const _CategoryDetailError({required this.categoryId});
146+
const _CategoryDetailError({required this.categoryRef});
147147

148148
@override
149149
Widget build(BuildContext context) {
@@ -167,7 +167,7 @@ class _CategoryDetailError extends StatelessWidget {
167167
? null
168168
: () {
169169
unawaited(
170-
context.read<CategoryDetailCubit>().getCategoryDetail(categoryId),
170+
context.read<CategoryDetailCubit>().getCategoryDetail(categoryRef),
171171
);
172172
},
173173
),
@@ -189,7 +189,7 @@ class _CategoryPageState extends State<CategoryPage> {
189189
children: [
190190
const _CategoryDetailContent(),
191191
_CategoryDetailError(
192-
categoryId: widget.categoryRef,
192+
categoryRef: widget.categoryRef,
193193
),
194194
].constrainedDelegate(),
195195
),

0 commit comments

Comments
 (0)