diff --git a/frontend/src/components/frame/Frame.jsx b/frontend/src/components/frame/Frame.jsx index a2ef1b1..9dfd570 100644 --- a/frontend/src/components/frame/Frame.jsx +++ b/frontend/src/components/frame/Frame.jsx @@ -54,7 +54,7 @@ const Frame = ({ const dispatch = useDispatch(); const [isFullScreen, setFullScreen] = useState(false); const [isExpand, setExpand] = useState(true); - + const [showCopyPopup, setShowCopyPopup] = useState(false); // const downloadMenu = () => ( //
// ); + const handleOnClickCopyToEditor = () => { + setShowCopyPopup(true); + setTimeout(() => { + setShowCopyPopup(false); + }, 2000); + dispatch(setCommand(reqString)); + }; + return (