File tree Expand file tree Collapse file tree 12 files changed +15
-17
lines changed
packages/service-utils/src/core Expand file tree Collapse file tree 12 files changed +15
-17
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export function ProjectSidebarLayout(props: {
3434 } ,
3535 {
3636 label : "Wallets" ,
37- href : `${ layoutPath } /connect/in-app- wallets` ,
37+ href : `${ layoutPath } /wallets` ,
3838 icon : WalletIcon ,
3939 } ,
4040 {
Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ export function ProjectGeneralSettingsPageUI(props: {
218218
219219 const paths = {
220220 aaConfig : `${ projectLayout } /connect/account-abstraction/settings` ,
221- inAppConfig : `${ projectLayout } /connect/in-app- wallets/settings` ,
221+ inAppConfig : `${ projectLayout } /wallets/settings` ,
222222 payConfig : `${ projectLayout } /connect/universal-bridge/settings` ,
223223 afterDeleteRedirectTo : `/team/${ props . teamSlug } ` ,
224224 } ;
Original file line number Diff line number Diff line change 1- import { FooterLinksSection } from "../../../ components/footer/FooterLinksSection" ;
1+ import { FooterLinksSection } from "../../components/footer/FooterLinksSection" ;
22
33export function InAppWalletsFooter ( ) {
44 return (
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -10,7 +10,5 @@ export default async function Page(props: {
1010} ) {
1111 const params = await props . params ;
1212 // Default to the users tab
13- redirect (
14- `/team/${ params . team_slug } /${ params . project_slug } /connect/in-app-wallets` ,
15- ) ;
13+ redirect ( `/team/${ params . team_slug } /${ params . project_slug } /wallets` ) ;
1614}
Original file line number Diff line number Diff line change @@ -33,17 +33,17 @@ export default async function Layout(props: {
3333 links = { [
3434 {
3535 name : "Analytics" ,
36- path : `/team/${ team_slug } /${ project_slug } /connect/in-app- wallets` ,
36+ path : `/team/${ team_slug } /${ project_slug } /wallets` ,
3737 exactMatch : true ,
3838 } ,
3939 {
4040 name : "Users" ,
41- path : `/team/${ team_slug } /${ project_slug } /connect/in-app- wallets/users` ,
41+ path : `/team/${ team_slug } /${ project_slug } /wallets/users` ,
4242 exactMatch : true ,
4343 } ,
4444 {
4545 name : "Settings" ,
46- path : `/team/${ team_slug } /${ project_slug } /connect/in-app- wallets/settings` ,
46+ path : `/team/${ team_slug } /${ project_slug } /wallets/settings` ,
4747 exactMatch : true ,
4848 } ,
4949 ] }
File renamed without changes.
Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ import { getProject } from "@/api/projects";
22import { getSMSCountryTiers } from "@/api/sms" ;
33import { getTeamBySlug } from "@/api/team" ;
44import { getClientThirdwebClient } from "@/constants/thirdweb-client.client" ;
5+ import { getAuthToken } from "@app/api/lib/getAuthToken" ;
6+ import { loginRedirect } from "@app/login/loginRedirect" ;
7+ import { getValidTeamPlan } from "@app/team/components/TeamHeader/getValidTeamPlan" ;
58import { InAppWalletSettingsPage } from "components/embedded-wallets/Configure" ;
69import { redirect } from "next/navigation" ;
7- import { getAuthToken } from "../../../../../../../api/lib/getAuthToken" ;
8- import { loginRedirect } from "../../../../../../../login/loginRedirect" ;
9- import { getValidTeamPlan } from "../../../../../../components/TeamHeader/getValidTeamPlan" ;
1010
1111export default async function Page ( props : {
1212 params : Promise < { team_slug : string ; project_slug : string } > ;
@@ -21,7 +21,7 @@ export default async function Page(props: {
2121 ] ) ;
2222
2323 if ( ! authToken ) {
24- loginRedirect ( `/team/${ team_slug } /connect/in-app- wallets/settings` ) ;
24+ loginRedirect ( `/team/${ team_slug } /wallets/settings` ) ;
2525 }
2626
2727 if ( ! team ) {
File renamed without changes.
You can’t perform that action at this time.
0 commit comments