snapshot-labs / sx-monorepo

Snapshot X monorepo
https://docs.snapshotx.xyz
MIT License
11 stars 10 forks source link

bug: "My spaces" page not loading spaces #373

Closed wa0x6e closed 1 month ago

wa0x6e commented 1 month ago

The "My spaces" page (https://snapshotx.xyz/#/settings) is not loading, and crashing with an error from hub.snapshot.org graphql, returning

Variable "$where" got invalid value { controller: "" }; Field "controller" is not defined by type "RankingWhere".

Screenshot 2024-05-28 at 00 35 04

The controller filter is not available for hub.snapshot.org

https://github.com/snapshot-labs/sx-monorepo/blob/24c1c26b7919d19c3759fdb1e39d94998d9fc7ef/apps/ui/src/views/Settings/Spaces.vue#L8

On v1, we're currently passing directly the list of space Id, after looking for all ens domains attached to the given address, instead of asking the API for it.

wa0x6e commented 1 month ago

Waiting for https://github.com/snapshot-labs/snapshot-hub/pull/857

wa0x6e commented 1 month ago

Closed via #381