I had a click on my rear wheel whenever I leant it to one side.
On my bike there is a sensor magnet mounted on a spoke on the rear wheel.
My magnet had twisted slightly on the spoke and was hitting the sensor pad on the frame when I leaned the bike to one side going around corners.
A sensor is...