Variable or argument is not defiend in the current scope

have you tried reinitializing the variable or argument in the selectors… @Mansi_Shinde

I also faced the same issue.