import { Stack } from '../../types' import '../../scss/fund-bar.scss' type Props = { col: number stack: Stack } export const FundBar = ({ stack, col }: Props) => { const amount = 0 const max = stack.amount const current = max - amount const percent = Math.max(current / max, 0) const hue = percent * 120 return ( <>
console.log(`adding transaction to => ${stack.name}`)} >

{stack.name}

${Math.floor(current)} / ${max}
) }