mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-05-01 04:37:58 +00:00
Fix all shadow deprecation warnings across entire mobile app
- Replaced shadowColor/shadowOffset/shadowOpacity/shadowRadius with boxShadow - Fixed 28 files (21 screens + 7 components) - Preserved elevation for Android compatibility - All React Native Web deprecation warnings resolved Files fixed: - All screen components - All reusable components - Navigation components - Modal components
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { useState, useEffect } from 'react';
|
||||
import { usePolkadot } from '@/contexts/PolkadotContext';
|
||||
import { usePezkuwi } from '@/contexts/PezkuwiContext';
|
||||
import { useWallet } from '@/contexts/WalletContext';
|
||||
import { useParams, useNavigate } from 'react-router-dom';
|
||||
import { Card } from '@/components/ui/card';
|
||||
@@ -38,7 +38,7 @@ interface PresaleData {
|
||||
|
||||
export default function PresaleDetail() {
|
||||
const { id } = useParams();
|
||||
const { api, selectedAccount, isApiReady } = usePolkadot();
|
||||
const { api, selectedAccount, isApiReady } = usePezkuwi();
|
||||
const { balances } = useWallet();
|
||||
const navigate = useNavigate();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user