Skip to content

Commit 3d40cfd

Browse files
Fix wrong collection call
Co-authored-by: Copilot <[email protected]>
1 parent 7828413 commit 3d40cfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/api/state/actions/font_actions.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class InitFontAction extends ReduxAction<AppState> {
6464
final PaginatedResult<FontModel> result = await ApiService().fontApi
6565
.getPage(
6666
page: 1,
67-
size: state.items.pageSize == 0 ? 10 : state.items.pageSize,
67+
size: state.fonts.pageSize == 0 ? 10 : state.fonts.pageSize,
6868
);
6969
return state.copyWith(fonts: result);
7070
}

0 commit comments

Comments
 (0)