Skip to content

Commit

Permalink
fix register link
Browse files Browse the repository at this point in the history
  • Loading branch information
roshni73 authored and AdityaKhatri committed Dec 5, 2024
1 parent 4eb0c96 commit 02ecb40
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/App/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ const subscriptionDetail = customWrapRoute({
render: () => import('#views/MySubscription/SubscriptionDetail'),
props: {},
},
wrapperComponent: Auth,
context: {
title: 'Subscription Detail',
visibility: 'is-authenticated',
Expand Down
2 changes: 1 addition & 1 deletion src/views/Login/i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"loginInvalid":"Invalid username or password",
"loginErrorMessage":"Error: {message}",
"loginButton":"Login",
"loginDontHaveAccount":"Don’t have an account? {signUpLink}",
"loginDontHaveAccount":"Don’t have an account? {registerLink}",
"loginCreateAccountTitle":"Create new account",
"loginRegister":"Register",
"loginFailureMessage": "Failed to login!",
Expand Down
2 changes: 1 addition & 1 deletion src/views/Login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export function Component() {
>
{strings.loginButton}
</Button>
<div className={styles.signUp}>
<div className={styles.register}>
{registerInfo}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/views/Login/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
gap: var(--go-ui-spacing-lg);
align-items: center;

.sign-up {
.register {
display: flex;
gap: var(--go-ui-spacing-sm);
}
Expand Down

0 comments on commit 02ecb40

Please sign in to comment.