File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1- import { notFound , redirect } from "next/navigation" ;
1+ import { redirect } from "next/navigation" ;
22import type { SearchParams } from "nuqs/server" ;
33import { getUserOpUsage } from "@/api/analytics" ;
44import { getAuthToken } from "@/api/auth-token" ;
99 type Range ,
1010} from "@/components/analytics/date-range-selector" ;
1111import { getClientThirdwebClient } from "@/constants/thirdweb-client.client" ;
12+ import { loginRedirect } from "@/utils/redirects" ;
1213import { AccountAbstractionSummary } from "../../account-abstraction/AccountAbstractionAnalytics/AccountAbstractionSummary" ;
1314import { SmartWalletsBillingAlert } from "../../account-abstraction/Alerts" ;
1415import { AccountAbstractionAnalytics } from "../../account-abstraction/aa-analytics" ;
@@ -27,7 +28,9 @@ export default async function Page(props: {
2728 ] ) ;
2829
2930 if ( ! authToken ) {
30- notFound ( ) ;
31+ loginRedirect (
32+ `/team/${ params . team_slug } /${ params . project_slug } /wallets/sponsored-gas` ,
33+ ) ;
3134 }
3235
3336 const [ team , project ] = await Promise . all ( [
You can’t perform that action at this time.
0 commit comments