Skip to content

Commit

Permalink
fix: remove the beta tag from the logo
Browse files Browse the repository at this point in the history
  • Loading branch information
devrsi0n committed Jan 28, 2024
1 parent 249b2b1 commit c576d96
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function ConfirmUserFields(/*props: ConfirmUserFieldsProps*/): JSX.Elemen
refetchUser();
} catch (error: any) {
logger.debug(`Update user fields failed: ${error}`);
if (/duplicate key.+users_username_key/.test(error.message)) {
if (/Unique constraint/.test(error.message)) {
setError('username', 'Username already taken');
} else if (/duplicate key.+users_email_key/.test(error.message)) {
setError('email', 'Email already taken');
Expand Down
2 changes: 0 additions & 2 deletions packages/ui/src/components/logo/logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ function LogoBadge({ showBadge }: { showBadge?: boolean }): JSX.Element {
const host = getHostEnv();
if (['staging', 'preview', 'localhost'].includes(host)) {
setBadge(host);
} else if (host === 'prod') {
setBadge('Beta');
}
}, []);

Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/pages/dashboard/delete-account.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function DeleteAccountCard() {
analytics and related data. Please type in {key} to confirm. This
action is not reversible, so please continue with caution.
</Text>
<TextField name="key" label="Confirm delete" placeholder={key} />
<TextField name="key" label="Confirm" placeholder={key} />
</SettingsCard.Body>
<SettingsCard.Footer>
<Button color="primary" variant="solid" type="submit">
Expand Down

1 comment on commit c576d96

@vercel
Copy link

@vercel vercel bot commented on c576d96 Jan 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.