Skip to content

Commit

Permalink
Merge pull request #782 from autonomys/feat/allowVisitorsToUseRPCData
Browse files Browse the repository at this point in the history
Allow visitors to use RPC data
  • Loading branch information
marc-aurele-besner authored Jul 31, 2024
2 parents 0acc300 + 78017a9 commit 65fc29f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion explorer/src/components/Staking/OperatorsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ export const OperatorsList: FC = () => {
}, [])

const operatorsConnection = useMemo(() => {
if (useRpcData && subspaceAccount) {
if (useRpcData) {
const myRpcNominatorIds = deposits
.filter((d) => d.account === subspaceAccount)
.map((n) => n.operatorId.toString())
Expand Down
1 change: 0 additions & 1 deletion explorer/src/providers/WalletProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ export const WalletProvider: FC<Props> = ({ children }) => {
}, [actingAccount])

useEffect(() => {
if (!injector) return
setup()
}, [injector, setup])

Expand Down

0 comments on commit 65fc29f

Please sign in to comment.