Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
dmosites committed Dec 4, 2023
1 parent 62ffcfe commit 3c41c70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/features/metadata/metadataSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ export const fetchAllTokens = createAsyncThunk<
state: RootState;
}
>("metadata/getKnownTokens", async (chainId, thunkApi) => {
const res = (await getKnownTokens(chainId))
const res = await getKnownTokens(chainId);
if (res.errors.length) {
console.log('Errors fetching metadata', res.errors)
return []
console.log("Errors fetching metadata", res.errors);
return [];
} else return res.tokens;
});

Expand Down

0 comments on commit 3c41c70

Please sign in to comment.