SFTtech / abrechnung

Payment tracking and money splitting for groups 💸
https://abrechnung.readthedocs.io
GNU Affero General Public License v3.0
122 stars 15 forks source link

fix yarn build #119

Closed returntoreality closed 1 year ago

returntoreality commented 1 year ago

This fixes the following error during yarn build:

TS2345: Argument of type 'ValueType' is not assignable to parameter of type 'string'.
  Type 'number' is not assignable to type 'string'.
    152 |                                     <Tooltip
    153 |                                         formatter={(label) =>
  > 154 |                                             parseFloat(label).toFixed(2) + ` ${group.currency_symbol}`
        |                                                        ^^^^^
    155 |                                         }
    156 |                                         labelStyle={{
    157 |                                             color: theme.palette.text.primary,
mikonse commented 1 year ago

should be fixed by #120