Skip to content

Commit

Permalink
Merge pull request #5 from dylancetin/main
Browse files Browse the repository at this point in the history
fixed bug with onParse function to solve line skip
  • Loading branch information
sadmann7 authored Sep 6, 2024
2 parents b497018 + 1dc359b commit f3b1493
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/hooks/use-parse-csv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,9 @@ export function useParseCsv({
current: mappings,
},
}))
count++
} else if (count <= limit) {
}

if (count < limit) {
allResults.push(results.data)
count++
} else {
Expand Down

0 comments on commit f3b1493

Please sign in to comment.