Skip to content

Commit

Permalink
added target='_blank' to Banner.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlstarr committed Aug 23, 2023
1 parent e736143 commit 36ff585
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/js/components/banner/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@ import { RootState } from '../../store';

const Banner = () => {
const selectedLanguage = useSelector((store: RootState) => store.appState.selectedLanguage);
console.log(bannerContent);
console.log(selectedLanguage);
console.log(bannerContent[selectedLanguage].text);
return (
<div className="banner">
<h1 className="banner__text__title">
{bannerContent[selectedLanguage].text}{' '}
<a href={'http://mapbuilder.wri.org/tutorials/tml-to-tcc'} className="banner__text__link">
<a href={'http://mapbuilder.wri.org/tutorials/tml-to-tcc'} className="banner__text__link" target="_blank">
{bannerContent[selectedLanguage].linkUrlText}
</a>
</h1>
Expand Down

0 comments on commit 36ff585

Please sign in to comment.