|
@@ -53,6 +53,8 @@ export default function AwardDetailSwipeScreen() {
|
|
|
const [data, setData] = useState<PoolData | null>(null);
|
|
const [data, setData] = useState<PoolData | null>(null);
|
|
|
const [products, setProducts] = useState<ProductItem[]>([]);
|
|
const [products, setProducts] = useState<ProductItem[]>([]);
|
|
|
const [currentIndex, setCurrentIndex] = useState(parseInt(index || '0', 10));
|
|
const [currentIndex, setCurrentIndex] = useState(parseInt(index || '0', 10));
|
|
|
|
|
+
|
|
|
|
|
+ console.log(`[DEBUG-SWIPE] Init. PoolId: ${poolId}, ParamIndex: ${index}, StateIndex: ${currentIndex}`);
|
|
|
|
|
|
|
|
const loadData = useCallback(async () => {
|
|
const loadData = useCallback(async () => {
|
|
|
if (!poolId) return;
|
|
if (!poolId) return;
|