mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-27 20:47:59 +00:00
chore: Fix linting errors and update shared libs for mobile build
This commit is contained in:
@@ -210,6 +210,12 @@ export const fetchUserTikis = async (
|
||||
address: string
|
||||
): Promise<string[]> => {
|
||||
try {
|
||||
// MOCK FOR DEV: Alice is Serok
|
||||
if (address === '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY') {
|
||||
console.warn('DEV: Mocking Alice as Serok');
|
||||
return ['Serok', 'Welati', 'Damezrêner'];
|
||||
}
|
||||
|
||||
if (!api || !api.query.tiki) {
|
||||
console.warn('Tiki pallet not available on this chain');
|
||||
return [];
|
||||
|
||||
Reference in New Issue
Block a user