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

Additional Context:
We could've brought our bikes with us if there was

Answer:
assistant
No, it is not grammatical. Here is the correct version: We could have brought our bikes with us if there had been.