File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/in-app-wallets/users Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1+ import { getProject } from "@/api/projects" ;
12import { InAppWalletUsersPageContent } from "components/embedded-wallets/Users" ;
3+ import { notFound } from "next/navigation" ;
24import { TRACKING_CATEGORY } from "../_constants" ;
35
46export default async function Page ( props : {
57 params : Promise < { team_slug : string ; project_slug : string } > ;
68} ) {
79 const params = await props . params ;
10+ const project = await getProject ( params . team_slug , params . project_slug ) ;
11+ if ( ! project ) {
12+ notFound ( ) ;
13+ }
14+
815 return (
916 < >
1017 < InAppWalletUsersPageContent
11- clientId = { params . project_slug }
18+ clientId = { project . publishableKey }
1219 trackingCategory = { TRACKING_CATEGORY }
1320 />
1421 </ >
You can’t perform that action at this time.
0 commit comments