Fallback to user.balance
This commit is contained in:
		
							parent
							
								
									aa37d3afde
								
							
						
					
					
						commit
						a71c2226d2
					
				|  | @ -35,7 +35,9 @@ export function ProfileSummary(props: { user: User | undefined }) { | |||
|       <div className="truncate text-left"> | ||||
|         <div>{user?.name}</div> | ||||
|         <div className="text-sm"> | ||||
|           {user ? formatMoney(Math.floor(loadFakeBalance())) : ' '} | ||||
|           {user | ||||
|             ? formatMoney(Math.floor(loadFakeBalance() || user.balance)) | ||||
|             : ' '} | ||||
|         </div> | ||||
|       </div> | ||||
|     </Row> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user