Skip to content

Commit

Permalink
Fix stylelint error
Browse files Browse the repository at this point in the history
  • Loading branch information
romina1601 committed Sep 12, 2024
1 parent 7ce9019 commit 21ed224
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/InfoBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ const InfoBoxComponent: React.FC<IInfoBoxProps> = ({
const isAddable = selectedNode && validTypes.includes(selectedNode.type);

const handleAddToWorkspace = async () => {
if (!selectedNode) return;
if (!selectedNode) {
return;
}

if (isAddable) {
addToWorkspace(selectedNode);
Expand Down

0 comments on commit 21ed224

Please sign in to comment.