diff --git a/src/components/specific_challenge/HowTo/sections/HowToContent.js b/src/components/specific_challenge/HowTo/sections/HowToContent.js index c0b827c..0715389 100644 --- a/src/components/specific_challenge/HowTo/sections/HowToContent.js +++ b/src/components/specific_challenge/HowTo/sections/HowToContent.js @@ -19,8 +19,15 @@ const HowToContent = (props) => { const repoKeyRender = () => { if (props.userFullInfo) { - return props.userFullInfo.individualKey; - } return 'REPO_KEY_HERE'; + return ( + + ); + } }; return ( @@ -52,10 +59,11 @@ const HowToContent = (props) => { > - Add the following ssh key {repoKeyRender()} to + Add the following ssh key {props.userFullInfo ? '' : 'REPO_KEY_HERE'} to your deploy keys in your git repository settings. + {repoKeyRender()} theme.colors.white}; + max-width: 600px; + overflow-wrap: break-word; &:before { display: ${({before}) => before ? 'inline-block' : 'none'};