fix(collapse): Removed unused parameter

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