import React, { useState, useEffect, useRef } from 'react'; import MainNav from '../Components/MainNav'; import SubNav from '../Components/SubNav'; import Pagination from '../Components/Pagination'; import search from '../search.svg'; 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 (