Troubleshoot this react code. The app does not work as intended - the cards should be all flipped on their back to start (s they are)  and then once the user clicks get my reading the app should randomly chose three cards, display them (flipping the 3 cards )  and then submit the reading prompt and then display it below the cards   Please make the fixes to the file - here is the latest version of TarotDeck.js which you should use to make the revisions:

import React, { useState, useCallback } from 'react';
import TarotCard from './TarotCard';
import './TarotDeck.css';

function TarotDeck() {
  const [cards, setCards] = useState([
    { name: '0TheFool.jpg', used: false, meaning: 'Innocence, new beginnings, free spirit' },
    { name: '1TheMagician.jpg', used: false, meaning: 'Manifestation, resourcefulness, power' },
    { name: '2TheHighPriestess.jpg', used: false, meaning: 'Intuition, sacred knowledge, divine feminine' },
    { name: '3TheEmpress.jpg', used: false, meaning: 'Abundance, nurturing, fertility' },
    { name: '4TheEmperor.jpg', used: false, meaning: 'Authority, structure, control' },
    { name: '5TheHierophant.jpg', used: false, meaning: 'Tradition, conformity, morality' },
    { name: '6TheLovers.jpg', used: false, meaning: 'Love, harmony, relationships' },
    { name: '7TheChariot.jpg', used: false, meaning: 'Direction, control, willpower' },
    { name: '8Strength.jpg', used: false, meaning: 'Inner strength, courage, compassion' },
    { name: '9TheHermit.jpg', used: false, meaning: 'Solitude, introspection, guidance' },
    { name: '10WheelOfFortune.jpg', used: false, meaning: 'Change, cycles, inevitable fate' },
    { name: '11Justice.jpg', used: false, meaning: 'Balance, fairness, truth' },
    { name: '12TheHangedMan.jpg', used: false, meaning: 'Surrender, release, new perspective' },
    { name: '13Death.jpg', used: false, meaning: 'Transformation, change, rebirth' },
    { name: '14Temperance.jpg', used: false, meaning: 'Balance, moderation, patience' },
    { name: '15TheDevil.jpg', used: false, meaning: 'Materialism, bondage, addiction' },
    { name: '16TheTower.jpg', used: false, meaning: 'Upheaval, chaos, revelation' },
    { name: '17TheStar.jpg', used: false, meaning: 'Hope, inspiration, serenity' },
    { name: '18TheMoon.jpg', used: false, meaning: 'Unconscious, illusion, intuition' },
    { name: '19TheSun.jpg', used: false, meaning: 'Positivity, success, vitality' },
    { name: '20Judgment.jpg', used: false, meaning: 'Rebirth, inner calling, absolution' },
    { name: '21TheWorl Provide your reponse without using the word innocence.
user