File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import WebsiteLayout , { revalidate } from '../../../../../status.app/src/app/(website)/layout'
1+ import WebsiteLayout , {
2+ revalidate ,
3+ } from '../../../../../status.app/src/app/(website)/layout'
24
35export default WebsiteLayout
46export { revalidate }
Original file line number Diff line number Diff line change 1-
Original file line number Diff line number Diff line change 1- export { GET , dynamic } from '../../../../../../status.app/src/app/api/download/[platform]/route'
1+ export {
2+ dynamic ,
3+ GET ,
4+ } from '../../../../../../status.app/src/app/api/download/[platform]/route'
Original file line number Diff line number Diff line change @@ -59,11 +59,7 @@ export default async function RootLayout({ children }: Props) {
5959 const [ locale , messages ] = await Promise . all ( [ getLocale ( ) , getMessages ( ) ] )
6060
6161 return (
62- < html
63- lang = { locale }
64- className = { inter . variable }
65- suppressHydrationWarning
66- >
62+ < html lang = { locale } className = { inter . variable } suppressHydrationWarning >
6763 < head >
6864 < link rel = "preconnect" href = "https://res.cloudinary.com" />
6965 < meta
Original file line number Diff line number Diff line change @@ -4,11 +4,13 @@ import type { PostOrPage } from '@tryghost/content-api'
44 * Blog/Ghost is not part of get.status.app. This stub satisfies imports from
55 * shared status.app pages (e.g. homepage) without requiring Ghost env vars.
66 */
7- export async function getPosts ( _params : {
8- page ?: number
9- limit ?: number
10- tag ?: string
11- } = { } ) {
7+ export async function getPosts (
8+ _params : {
9+ page ?: number
10+ limit ?: number
11+ tag ?: string
12+ } = { }
13+ ) {
1214 const limit = _params . limit ?? 7
1315
1416 return {
@@ -26,6 +28,9 @@ export async function getPosts(_params: {
2628 }
2729}
2830
31+ // Never called on get.status.app (guarded by isGetSite in the shared page); the
32+ // parameter exists only for type compatibility with the real ghost lib signature.
33+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
2934export function findLatestReleasePost ( _posts : PostOrPage [ ] ) : PostOrPage | null {
3035 return null
3136}
You can’t perform that action at this time.
0 commit comments