Fixes a few client errors that aren't being tracked. I get that we're working on the preact client, but these are helpful while still developing with the non-preact client.
No more error when you first open the page (i.e. when the route does not have a host parameter). Now the client resets to a "not in server" state, instead of trying to fetch http://undefined/api/properties.
No more error when your user doesn't show up in the user list, for whatever reason.
No more error when the client automatically restores a session ID, but that session has been deleted. It treats that as you being logged out now.
Fixes a few client errors that aren't being tracked. I get that we're working on the preact client, but these are helpful while still developing with the non-preact client.
No more error when you first open the page (i.e. when the route does not have a
host
parameter). Now the client resets to a "not in server" state, instead of trying to fetchhttp://undefined/api/properties
.No more error when your user doesn't show up in the user list, for whatever reason.
No more error when the client automatically restores a session ID, but that session has been deleted. It treats that as you being logged out now.