Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zmh-program committed Oct 31, 2023
1 parent 1d6bfb6 commit 4d3492d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/routes/Article.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function GenerateProgress({ current, total }: ProgressProps) {
<p
className={`select-none mt-4 mb-2.5 flex flex-row items-center content-center mx-auto w-max`}
>
{current === total ? (
{(total !== 0 && current === total) ? (
<>
<Check className={`h-5 w-5 mr-2 inline-block animate-out`} />
{t("article.generate-success")}
Expand Down

0 comments on commit 4d3492d

Please sign in to comment.