import React, { useState, useEffect, useRef } from 'react'; import Pagination from '../Components/Pagination'; import { Row, Form, FormControl, Button, Card, Container } from 'react-bootstrap'; function Admin() { function handleClick(e) { const card = e.target.parentNode.parentNode alert('해당 상품을 성공적으로 삭제하였습니다.') card.remove() } function handleSubmit(e) { e.preventDefault() } return (