When a user creates a room that starts now, he should be led to a confirmation page.
selectCreatedRoom is the selector responsible for showing the confirmation page. This selector expects to have the list of recently created rooms, but instead gets the list of rooms that start from the moment the call is made to server on.
This means the room created just a few seconds ago won't be in the list -> the selector doesn't work as expected and the user stays in the AdminDashboard when a room starting now is just created.
When a user creates a room that starts
now
, he should be led to a confirmation page.selectCreatedRoom
is the selector responsible for showing the confirmation page. This selector expects to have the list of recently created rooms, but instead gets the list of rooms that start from the moment the call is made to server on.This means the room created just a few seconds ago won't be in the list -> the selector doesn't work as expected and the user stays in the
AdminDashboard
when a room startingnow
is just created.