Skip to content

Commit

Permalink
network 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hidanbeing committed Jun 2, 2024
1 parent 660e4a2 commit d209a8c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 5 additions & 2 deletions src/components/network-components/ConnectActor.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const ConnectActor = () => {
}, [data]);

const changeActor = (name) => {
setName(name);
// setName(name);
};

return (
Expand Down Expand Up @@ -162,7 +162,10 @@ export const ConnectActor = () => {
<img
className="img"
src={e.url}
onClick={changeActor(e.actor)}
onClick={() => {
setInputValue(e.actor);
setName(e.actor);
}}
/>
<div>|</div>
</div>
Expand Down
6 changes: 1 addition & 5 deletions src/components/network-components/tree/RootTree.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,7 @@ function RootTree(prop){
) : null
)}
</div>
{/* <div className="level1">
{actormovie.map((e, index) =>
index < 4 ? <LevelOne name={e.actor} /> : null
)}
</div> */}

</div>
);
}
Expand Down

0 comments on commit d209a8c

Please sign in to comment.