Skip to content

Instantly share code, notes, and snippets.

@rajatgeekyants
Created April 17, 2018 09:39
Show Gist options
  • Save rajatgeekyants/ef1e6eb8c4d1eff4a399e16539a602e6 to your computer and use it in GitHub Desktop.
Save rajatgeekyants/ef1e6eb8c4d1eff4a399e16539a602e6 to your computer and use it in GitHub Desktop.
<div className="one-col">
{isRole('affiliate', user._id) &&
<MyAffiliateInfo userId={user._id} />
}
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment