Skip to content

Commit

Permalink
Hide my saved tweets link if not login
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Feb 16, 2023
1 parent 641c3ff commit 7b96659
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/SavedTweetsLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ export default function SavedTweetsLinks(props: SavedTweetsLinksProps) {

return (
<div {...props} className={clsx("flex gap-6", props.className)}>
{linksList.map(({ href, text, openInNewTab, gaEvent }) => {
{linksList.map(({ href, text, openInNewTab, gaEvent, authOnly }) => {
if (authOnly && !address) return null;
return (
<Link
href={href}
Expand Down

0 comments on commit 7b96659

Please sign in to comment.