Open bartcant opened 4 years ago
@bartcant Was there an error displaying something or was it the case that a Party could not see any assets?
The semantics of useQuery
and useStreamQuery
are different, but since the Default
page does not let you modify the Asset's I think that it is ok to have a static view requiring a refresh.
It did not display the list when using useQuery
. Once I changed it to useStreamQuery
it worked
Maybe there's a bug that your setup is highlighting. Could you please log the assets
variable? I'd like to make sure that you do see the loading = true
state, when the page finishes loading.
I noticed that Default.Js is using
This resulted in an empty list
when changing useQuery to useStreamQuery the list displayed correctly