tab refresh working, but not ideally
This commit is contained in:
parent
67e6bcddf7
commit
94577a383c
4 changed files with 90 additions and 77 deletions
|
|
@ -12,8 +12,10 @@ import { useContext } from "react";
|
|||
|
||||
export default function GenericNode({ data }) {
|
||||
const {types} = useContext(typesContext);
|
||||
console.log(types, data.type)
|
||||
const Icon = nodeIcons[types[data.type]];
|
||||
|
||||
|
||||
return (
|
||||
<div className="prompt-node relative bg-white w-96 rounded-lg solid border flex flex-col justify-center">
|
||||
<div className="w-full flex items-center justify-between p-4 gap-8 bg-gray-50 border-b ">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue