@@ -29,7 +29,7 @@ export default function SetupPage(props: { toMetrics: () => void }) {
2929 const { theme, mounted } = useThemeWatcher ( ) ;
3030 const [ showPulse , setShowPulse ] = useState ( false ) ;
3131 const [ selectedFramework , setSelectedFramework ] = useState < 'nextjs' | 'react' | 'javascript' | 'python' > ( 'nextjs' ) ;
32- const [ keys , setKeys ] = useState < { projectId : string , publishableClientKey : string , secretServerKey : string , superSecretAdminKey : string } | null > ( null ) ;
32+ const [ keys , setKeys ] = useState < { projectId : string , publishableClientKey : string , secretServerKey : string } | null > ( null ) ;
3333
3434 const onGenerateKeys = async ( ) => {
3535 const newKey = await adminApp . createInternalApiKey ( {
@@ -44,7 +44,6 @@ export default function SetupPage(props: { toMetrics: () => void }) {
4444 projectId : adminApp . projectId ,
4545 publishableClientKey : newKey . publishableClientKey ! ,
4646 secretServerKey : newKey . secretServerKey ! ,
47- superSecretAdminKey : newKey . superSecretAdminKey ! ,
4847 } ) ;
4948 } ;
5049
@@ -596,7 +595,7 @@ export default function SetupPage(props: { toMetrics: () => void }) {
596595}
597596
598597function StackAuthKeys ( props : {
599- keys : { projectId : string , publishableClientKey : string , secretServerKey : string , superSecretAdminKey : string } | null ,
598+ keys : { projectId : string , publishableClientKey : string , secretServerKey : string } | null ,
600599 onGenerateKeys : ( ) => Promise < void > ,
601600 type : 'next' | 'raw' ,
602601} ) {
@@ -608,11 +607,13 @@ function StackAuthKeys(props: {
608607 < NextJsEnvKeys
609608 projectId = { props . keys . projectId }
610609 publishableClientKey = { props . keys . publishableClientKey }
610+ secretServerKey = { props . keys . secretServerKey }
611611 />
612612 ) : (
613613 < APIEnvKeys
614614 projectId = { props . keys . projectId }
615615 publishableClientKey = { props . keys . publishableClientKey }
616+ secretServerKey = { props . keys . secretServerKey }
616617 />
617618 ) }
618619
0 commit comments