Skip to content

Commit

Permalink
Merge pull request #527 from bartoval/fix_excludeBehaviors_undefined
Browse files Browse the repository at this point in the history
fix: 🐞 ExcludeBehaviors undefined crash the graph
  • Loading branch information
bartoval authored Dec 13, 2024
2 parents 7c5caf7 + ab95018 commit 0e76a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/components/SkGraph/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const SkGraph: FC<SkGraphProps> = memo(
itemSelected,
layout = 'default',
savePositions = true,
excludeBehaviors
excludeBehaviors = []
}) => {
const [isGraphLoaded, setIsGraphLoaded] = useState(false);
const topologyGraphRef = useRef<Graph>(null);
Expand Down

0 comments on commit 0e76a30

Please sign in to comment.