`How to remove extra data from a table?
O
O
One Two2021-08-03 21:29:15
React
One Two, 2021-08-03 21:29:15

How to remove extra data from a table?

61098a0615820473070326.png
You need to remove 0 EUR, and leave only FS

Here is a code snippet

<span className="tourn-player-prizes-list__nominal">
        {` ${discardZeros(prize?.money_award)} ${currency}`}
        {!!prize?.freespins_count && ` + \n ${prize.freespins_count} FS`}
      </span>

how to do it right?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valery, 2021-08-03
@vmakhnyuk

Remove this line:

{` ${discardZeros(prize?.money_award)} ${currency}`}

lol

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question