Skip to content

Commit

Permalink
Fixed total chapters
Browse files Browse the repository at this point in the history
  • Loading branch information
santi-g-s committed May 22, 2023
1 parent 7b646c4 commit 455dc9c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function TotalChapters({ data1 }: DefaultWidgetProps) {
// eslint-disable-next-line no-plusplus
for (let i = 0; i < cityData?.data.length; i++) {
if (
cityData?.data[i].isAccredited !== 0 &&
cityData?.data[i].isAccredited &&
cityData?.data[i].isAccredited !== null
) {
sum += 1;
Expand Down

0 comments on commit 455dc9c

Please sign in to comment.