tab refresh working, but not ideally

This commit is contained in:
Lucas Oliveira 2023-02-23 12:07:36 -03:00
commit 94577a383c
4 changed files with 90 additions and 77 deletions

View file

@ -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 ">