7 messages · Page 1 of 1 (latest)
Here’s my repo https://github.com/Kh413dR1zk/apple_project/tree/main
hello
you should use 3 term operator for that
someCond ? someList.map : ""
like this
someObj ? someObj.img ... : "" or someObj && someObj.img
got it?