Leaves may only be canceled if they are of a future date (i.e. later than today).
To cancel a leave...
On web:
Open the Leaves > My Leaves on your account
Select cancel on the respective leave:
On mobile:
Open the Leaves page on your account
Click on the leave you wish to cancel
Select cancel on the leave request: