Skip to content

Commit

Permalink
Use v2 accounts page
Browse files Browse the repository at this point in the history
  • Loading branch information
dabbott committed Aug 2, 2024
1 parent 903c21f commit 45e9bd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/site/src/components/Toolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export function Toolbar({ children, left, right, subscribeButton }: Props) {
<Link href="/">
<LogoContainer
onClick={() => {
router.push('/');
window.location.href = `${NOYA_HOST}/v2`;
}}
>
<Logo />
Expand Down Expand Up @@ -149,7 +149,7 @@ export function Toolbar({ children, left, right, subscribeButton }: Props) {
switch (value) {
case 'account':
if (isProjectsPath) {
openInNewTab(`${NOYA_HOST}/app/account`);
openInNewTab(`${NOYA_HOST}/v2/account`);
} else {
router.push('/account');
}
Expand Down
2 changes: 1 addition & 1 deletion packages/site/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default function Project() {
priceDescription="Free"
callToActionAccented
callToActionText="Upgrade"
callToActionUrl="/app/account"
callToActionUrl="/v2/account"
onPressCallToAction={() => {
setShowUpgradeDialog(true);
}}
Expand Down

0 comments on commit 45e9bd9

Please sign in to comment.