If you have "Hide Canceled" enabled in Company Settings > Online Booking > Additional Online Booking Settings, the class will automatically disappear from the app (only if you tick it manually after canceling). Otherwise, clients will still see it until you hide it.