Add console.log for title and color in ParameterComponent

This commit is contained in:
anovazzi1 2024-03-30 17:55:33 -03:00
commit f65b7680ba

View file

@ -88,6 +88,7 @@ export default function ParameterComponent({
const myData = useTypesStore((state) => state.data);
const takeSnapshot = useFlowsManagerStore((state) => state.takeSnapshot);
console.log(title, color);
const handleRefreshButtonPress = async (name, data) => {
setIsLoading(true);
@ -358,7 +359,7 @@ export default function ParameterComponent({
!showNode ? "mt-0" : ""
)}
style={{
borderColor: color,
borderColor: color??nodeColors.unknown,
}}
onClick={() => {
setFilterEdge(groupedEdge.current);
@ -451,7 +452,7 @@ export default function ParameterComponent({
"h-3 w-3 rounded-full border-2 bg-background"
)}
style={{
borderColor: color,
borderColor: color?? nodeColors.unknown,
}}
onClick={() => {
setFilterEdge(groupedEdge.current);