Skip to content

Commit

Permalink
remove customize button for unverified channels and small text change
Browse files Browse the repository at this point in the history
  • Loading branch information
jlbyrne committed Oct 24, 2024
1 parent 7472872 commit 98a1303
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ en:
verification_failure_what_happened: What happened
verification_failure: Your channel could not be verified!
verification_failure_explanation:
domain_not_found: "we could not find your domain."
domain_not_found: "We could not find your domain."
connection_failed: |
we could not find the public file at https://%{domain}/.well-known/brave-rewards-verification.txt.
too_many_redirects: "we were redirected too many times to verify your domain. "
Expand Down
14 changes: 8 additions & 6 deletions nextjs/src/app/[locale]/publishers/home/channels/ChannelCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,14 @@ export default function ChannelCard({ channel, publisherId, onChannelDelete }) {
>
{t('shared.remove')}
</Button>
<Button
href={`/publishers/contribution_page?channel=${channel.id}`}
kind='outline'
>
{t('shared.customize')}
</Button>
{!isUnverifiedChannel() && (
<Button
href={`/publishers/contribution_page?channel=${channel.id}`}
kind='outline'
>
{t('shared.customize')}
</Button>
)}
</section>
</Card>
);
Expand Down

0 comments on commit 98a1303

Please sign in to comment.