You've got your braces in the wrong place. The JSX syntax is <Component prop={<expression>} ... />, so in your case <img src={Github} ... />. Alternatively, you can use template strings:
<img src=`${Github}` ... />
, though I would still recommend having the block braces around the expression in general:
<img src={`${Github}`} ... />
You might also want to use the #help Tag in the future, that highlights your post a bit. :)
You've got your braces in the wrong place. The JSX syntax is
<Component prop={<expression>} ... />
, so in your case<img src={Github} ... />
. Alternatively, you can use template strings:<img src=`${Github}` ... />
, though I would still recommend having the block braces around the expression in general:
<img src={`${Github}`} ... />
You might also want to use the #help Tag in the future, that highlights your post a bit. :)
yeah this works now! Thank you!