1nwf / Produx-v2

Found Yoda conditions JS-0104
Bug risk
Minor
2 occurrences in this check
Expected literal to be on the right side of ==
177                                className="p-4 px-6 hover:bg-gray-200 hover:cursor-pointer mx-auto rounded-2xl my-2 w-[15vw]"
178                                style={{
179                                    backgroundColor:
180                                        'Questions' == channelName181                                            ? 'white'
182                                            : '',
183                                }}
Expected literal to be on the right side of ==
131                                className="p-4 px-6 hover:bg-gray-200 hover:cursor-pointer mx-auto rounded-2xl my-2 w-[15vw] "
132                                style={{
133                                    backgroundColor:
134                                        'Home' == channelName ? 'white' : '',135                                }}
136                            >
137                                <p className="text-[30px] lg:text-[calc(10px+0.5vw)] text-center lg:text-left md:text-4xl">