Hi Everyone,
I am trying to use a ternary operator to set the currency code in my table, however, it is not working as intended.
It's returning an array of three objects which is weird, not really sure what i am doing wrong.
Hi Everyone,
I am trying to use a ternary operator to set the currency code in my table, however, it is not working as intended.
It's returning an array of three objects which is weird, not really sure what i am doing wrong.
Hey @jeevenugo,
This is a bug. SEe similar topic here. Your ternary operator is correct, and it is returning correct values, so it should be working properly in your table.
Hey @jeevenugo! This seems to just be an issue with the linter - it still functions as you would expect!
I'll let the team know, as these kind of errors can definitely be misleading.