fix: resolve all lint errors for CI/CD workflow

- Remove unused supabase import from AppLayout.tsx
- Replace any types with proper type assertions in XCMTeleportModal.tsx
- Remove unused events parameter from signAndSend callback
- Fix any types in PezkuwiContext.tsx debug code
- Escape apostrophe in EmailVerification.tsx
- Remove unused ArrowDownRight import from AccountBalance.tsx
This commit is contained in:
2026-02-04 12:00:48 +03:00
parent 8f2b5c7136
commit 948fe2e87a
5 changed files with 12 additions and 12 deletions
+3 -2
View File
@@ -114,9 +114,10 @@ export const PezkuwiProvider: React.FC<PezkuwiProviderProps> = ({
// Debug: Check Junction type definition
try {
const junctionType = apiInstance.createType('XcmV3Junction');
console.log('🔍 XCM Junction type keys:', (junctionType as any).defKeys || Object.keys(junctionType.toJSON() || {}));
const junctionObj = junctionType as unknown as { defKeys?: string[] };
console.log('🔍 XCM Junction type keys:', junctionObj.defKeys || Object.keys(junctionType.toJSON() || {}));
// Expose api for console debugging
(window as any).__PEZKUWI_API__ = apiInstance;
(window as unknown as { __PEZKUWI_API__: typeof apiInstance }).__PEZKUWI_API__ = apiInstance;
console.log('💡 API exposed as window.__PEZKUWI_API__ for debugging');
} catch (e) {
console.log('⚠️ Could not check Junction type:', e);