up
This commit is contained in:
@@ -3,7 +3,6 @@ import {ReactFlow, addEdge, Controls, Background, MarkerType } from '@xyflow/re
|
||||
import '@xyflow/react/dist/style.css';
|
||||
import { FiUser, FiMail, FiCheckCircle,FiList } from 'react-icons/fi';
|
||||
import {FaShuffle } from "react-icons/fa6";
|
||||
import { event } from 'jquery';
|
||||
|
||||
|
||||
const initialNode = {
|
||||
@@ -200,6 +199,7 @@ const NoteFlow = () => {
|
||||
|
||||
const hideenPopup = () => {
|
||||
setShowPopup(false);
|
||||
console.log('hide')
|
||||
}
|
||||
|
||||
const onConnect = (params) => setEdges((eds) => addEdge(params, eds));
|
||||
@@ -269,7 +269,7 @@ const NoteFlow = () => {
|
||||
)}
|
||||
{showPopup && (
|
||||
<>
|
||||
<div className="popup-overlay" onClick={hideenPopup}></div>
|
||||
<button className="popup-overlay" onClick={hideenPopup}></button>
|
||||
<div
|
||||
className={`popup global-popup ${showPopup ? '' : 'hidden'}`}
|
||||
>
|
||||
@@ -277,7 +277,7 @@ const NoteFlow = () => {
|
||||
<div className="conent-form">
|
||||
<form>
|
||||
<div dangerouslySetInnerHTML={{ __html: selectedNodeContent }} />
|
||||
<button onClick={() => setShowPopup(false)}>Close</button>
|
||||
<button onClick={hideenPopup}>Close</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user