Created
March 18, 2020 14:43
-
-
Save JamesHusband/d7d5612621c6021d5edcbaec7571827d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const HowToClaimPage: React.FC<Props> = ({ offer }) => { | |
const [brand, setBrand] = React.useState({} as any); | |
React.useEffect(() => { | |
const getBrand = async () => { | |
const getBrand = await http.get(`${api.base}brands/10`); | |
setBrand(getBrand.data); | |
return brand; | |
}; | |
getBrand(); | |
}, []); | |
React.useEffect(() => {}, [brand]); | |
const description = `Claim ${offer.offer} at NJ Licensed Casino, ${brand.name}! New Games ★ Top Slots Spins ★ Big Money Jackpots ★ Free Fun Demo Play ★ Exclusive Deals! Find This Deal Online at Super Free Bets.`; | |
return ( | |
<> | |
<Meta title="title" description={description} /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment