mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-06-13 00:51:02 +00:00
Revert "fix: suppress referral scores warning in production"
This reverts commit cd83e0fc4f.
This commit is contained in:
@@ -133,7 +133,7 @@ export async function getReferralScore(
|
|||||||
): Promise<number> {
|
): Promise<number> {
|
||||||
try {
|
try {
|
||||||
if (!api?.query?.trust?.referralScores) {
|
if (!api?.query?.trust?.referralScores) {
|
||||||
if (import.meta.env.DEV) console.warn('Referral scores not available in trust pallet');
|
console.warn('Referral scores not available in trust pallet');
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user