diff --git a/package.json b/package.json
index 6cc8052..c9d4cee 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@poap-xyz/poap-family",
- "version": "1.17.0",
+ "version": "1.17.1",
"author": {
"name": "POAP",
"url": "https://poap.xyz"
diff --git a/src/components/Loading.tsx b/src/components/Loading.tsx
index f890330..a158ed9 100644
--- a/src/components/Loading.tsx
+++ b/src/components/Loading.tsx
@@ -10,6 +10,7 @@ function Loading({
rate,
count,
total,
+ totalFinal = true,
small = false,
title,
}: {
@@ -18,6 +19,7 @@ function Loading({
rate?: number
count?: number
total?: number
+ totalFinal?: boolean
small?: boolean
title?: ReactNode
}) {
@@ -47,7 +49,7 @@ function Loading({
<>
{count}
{typeof total === 'number' && (
- {total}
+ {total}
)}
>
)}
diff --git a/src/components/Progress.tsx b/src/components/Progress.tsx
index df2180e..baca8a3 100644
--- a/src/components/Progress.tsx
+++ b/src/components/Progress.tsx
@@ -7,6 +7,7 @@ import 'styles/progress.css'
function Progress({
value,
max,
+ maxFinal = true,
showValue = false,
showPercent = false,
eta,
@@ -14,6 +15,7 @@ function Progress({
}: {
value?: number
max?: number
+ maxFinal?: boolean
showValue?: boolean
showPercent?: boolean
eta?: number
@@ -30,7 +32,11 @@ function Progress({
value={typeof value === 'number' ? value : undefined}
max={typeof max === 'number' ? max : undefined}
/>
- {showValue && {value ?? 0}/{max}}
+ {showValue && (
+
+ {value ?? 0}/{max}
+
+ )}
{showPercent &&
{hasDetails && (