You need to enable JavaScript to run this app.
Function CollectionReference.doc() cannot be called with an empty path.