Help Required


#1

Hi there,

I’ve hit a bit of a stumbling block, details of which you can find here:

I’m sure I’m missing something obvious, but can’t see it.

Any help you can provide will be much appreciated.


#2

It’s OK. I realised that…

return <li className={getSortByClass(sortByOptionValue)} key={sortByOptionValue}>{sortByOption}</li>;

Needed a ‘this’, i.e.

return <li className={this.getSortByClass(sortByOptionValue)} key={sortByOptionValue}>{sortByOption}</li>;

#3

#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.