@@ -21,11 +21,10 @@ import Change24hBadge from '@/components/common/Change24hBadge';
2121import KeySupplyBadge from '@/components/common/KeySupplyBadge' ;
2222import CreatorListRowDivider from '@/components/common/CreatorListRowDivider' ;
2323import BuyActionHelperText from '@/components/common/BuyActionHelperText' ;
24- import CreatorLabeledStatRow from '@/components/common/CreatorLabeledStatRow' ;
2524import CreatorBio from '@/components/common/CreatorBio' ;
2625import { useTransactionTelemetry } from '@/hooks/useTransactionTelemetry' ;
2726import { useNetworkMismatch } from '@/hooks/useNetworkMismatch' ;
28- import { formatCompactNumber , formatNumber , formatFollowerCount } from '@/utils/numberFormat.utils' ;
27+ import { formatCompactNumber , formatNumber } from '@/utils/numberFormat.utils' ;
2928
3029interface CreatorCardProps {
3130 creator : Course ;
@@ -180,18 +179,7 @@ const CreatorCard: React.FC<CreatorCardProps> = ({ creator, className }) => {
180179 < MiniStatChip label = "Level" value = { creator . level || 'Open' } />
181180 </ div >
182181 < CreatorListRowDivider className = "my-4" />
183- < div className = "mt-3 space-y-1.5" >
184- < CreatorLabeledStatRow
185- label = "Creator Share Supply"
186- value = {
187- creator . creatorShareSupply
188- ? `${ formatFollowerCount ( creator . creatorShareSupply ) } shares`
189- : 'Supply pending'
190- }
191- className = "px-3 py-3"
192- labelClassName = "text-[0.6rem]"
193- valueClassName = "text-sm md:text-sm"
194- />
182+ < div className = "mt-3 space-y-2" >
195183 < CardMetaRow
196184 label = {
197185 < span className = "inline-flex items-center gap-1.5" >
@@ -222,11 +210,13 @@ const CreatorCard: React.FC<CreatorCardProps> = ({ creator, className }) => {
222210 valueClassName = "font-grotesque text-base font-black text-amber-400"
223211 />
224212 </ div >
213+ < CreatorListRowDivider className = "my-4" />
225214 < CreatorSocialLinksList
226215 handle = { creator . socialHandle }
227216 className = "mt-4"
228217 />
229218 </ div >
219+ < CreatorListRowDivider className = "mt-4 mb-2" />
230220
231221 < div className = "flex items-center justify-end gap-4" >
232222 < AsyncButton
@@ -242,17 +232,22 @@ const CreatorCard: React.FC<CreatorCardProps> = ({ creator, className }) => {
242232 ) }
243233 >
244234 { transactionState === 'success' && (
245- < TransactionStatusIcon status = "success" className = "mr-2" />
235+ < TransactionStatusIcon status = "success" />
236+ ) }
237+ { transactionState === 'submitting' && (
238+ < TransactionStatusIcon status = "pending" />
246239 ) }
247240 { transactionState === 'failed' && (
248- < TransactionStatusIcon status = "failed" className = "mr-2" />
241+ < TransactionStatusIcon status = "failed" />
249242 ) }
250- < ShoppingCart className = "mr-2 size-4" />
251- { transactionState === 'success'
252- ? 'Completed'
253- : transactionState === 'failed'
254- ? 'Retry Purchase'
255- : 'Buy Key' }
243+ < ShoppingCart className = "size-4" />
244+ { transactionState === 'submitting'
245+ ? 'Processing...'
246+ : transactionState === 'success'
247+ ? 'Completed'
248+ : transactionState === 'failed'
249+ ? 'Retry Purchase'
250+ : 'Buy Key' }
256251 </ AsyncButton >
257252 </ div >
258253
0 commit comments