We could've brought our bikes with us if there was
Edit the following sentence, 'We could've brought our bikes with us if there was' to be grammatically correct.
We could have brought our bikes with us if there had been space.