Merge dev into update-oauth-docs

This commit is contained in:
Konsti Wohlwend 2025-10-26 04:31:32 -07:00 committed by GitHub
commit 401bfa7ecf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 12 deletions

View File

@ -1,14 +1,12 @@
import { ALL_APPS, AppId } from "@stackframe/stack-shared/dist/apps/apps-config";
import { notFound } from "next/navigation";
import AppDetailsModalPageClient from "./page-client";
export const generateStaticParams = async () => {
return Object.keys(ALL_APPS).map(appId => ({ appId }));
};
export const dynamicParams = false;
export default async function AppDetailsModalPage({ params }: { params: Promise<{ appId: AppId }> }) {
const appId = (await params).appId;
if (!(appId in ALL_APPS)) {
return notFound();
}
return (
<AppDetailsModalPageClient appId={appId} />

View File

@ -1,14 +1,12 @@
import { ALL_APPS, AppId } from "@stackframe/stack-shared/dist/apps/apps-config";
import { notFound } from "next/navigation";
import AppDetailsPageClient from "./page-client";
export const generateStaticParams = async () => {
return Object.keys(ALL_APPS).map(appId => ({ appId }));
};
export const dynamicParams = false;
export default async function AppDetailsPage({ params }: { params: Promise<{ appId: AppId }> }) {
const appId = (await params).appId;
if (!(appId in ALL_APPS)) {
return notFound();
}
return (
<AppDetailsPageClient appId={appId} />

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 318 B