Skip to content

Commit

Permalink
Method return type
Browse files Browse the repository at this point in the history
  • Loading branch information
bobo-k2 committed Feb 15, 2024
1 parent a05dcf8 commit b86f7d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/staking-v3/hooks/useDapps.ts
Expand Up @@ -100,7 +100,7 @@ export function useDapps() {
return dapps.find((d) => d.owner === ownerAddress && d.state === DappState.Registered);
};

const fetchDappStats = async () => {
const fetchDappStats = async (): Promise<void> => {
if (dappsStats.value.length === 0) {
const repo = container.get<IDappStakingRepository>(Symbols.DappStakingRepository);
dappsStats.value = await repo.getAggregatedMetrics(networkNameSubstrate.value.toLowerCase());
Expand Down

0 comments on commit b86f7d1

Please sign in to comment.