fix(collapse): Remove unused parameter

The parameter isn't used anyway, so I removed it.