Skip to content

Commit

Permalink
Type assertion for now
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkmcc committed Feb 4, 2024
1 parent 587ed90 commit c5dff80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/NodeContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function NodeContainer({
children,
}: NodeContainerProps) {
const config = useGraphStore((store) => store.config)
const nodeConfig = config.getNodeConfig(node.type!)
const nodeConfig = config.getNodeConfig(node.type!)!
const nodeGroupConfig = config.getNodeGroupConfig(nodeConfig.group)
const [collapsed, toggleCollapsed] = useNodeCollapsed()

Expand Down

0 comments on commit c5dff80

Please sign in to comment.