Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save JamesHusband/d7d5612621c6021d5edcbaec7571827d to your computer and use it in GitHub Desktop.
Save JamesHusband/d7d5612621c6021d5edcbaec7571827d to your computer and use it in GitHub Desktop.
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 &#9733 Top Slots Spins &#9733 Big Money Jackpots &#9733 Free Fun Demo Play &#9733 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