Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
daniwasonline committed Jan 28, 2022
2 parents 8351535 + b3ecfb6 commit 167b5f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jsx/componentry/Card.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const ButtonText = () => null;
ButtonText.displayName = "ButtonText";

function ProjectCard(props) {
var [processedChildren, setProcessedChildren] = useState(typeof props.children.splice !== "function" ? [props.children] : props.children);
var [processedChildren] = useState(typeof props.children.splice !== "function" ? [props.children] : props.children);
var [title, setTitle] = useState("");
var [description, setDescription] = useState("");
var [image, setImage] = useState("");
Expand All @@ -46,7 +46,7 @@ function ProjectCard(props) {
if (buttonText === "") setButtonText(child.props.children);
};
});
}, [processedChildren]);
});

return (
<div>
Expand Down

1 comment on commit 167b5f0

@vercel
Copy link

@vercel vercel bot commented on 167b5f0 Jan 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.