fix: page /404 translator not working bug (#5320)
Some checks are pending
Build FastGPT images in Personal warehouse / get-vars (push) Waiting to run
Build FastGPT images in Personal warehouse / build-fastgpt-images (map[arch:amd64 runs-on:ubuntu-24.04]) (push) Blocked by required conditions
Build FastGPT images in Personal warehouse / build-fastgpt-images (map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Blocked by required conditions
Build FastGPT images in Personal warehouse / release-fastgpt-images (push) Blocked by required conditions

This commit is contained in:
W.H 2025-07-28 13:55:10 +08:00 committed by GitHub
parent 8460ee50b2
commit 6ed9198c60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,3 +1,4 @@
import { serviceSideProps } from '@/web/common/i18n/utils';
import React, { useEffect } from 'react';
import { useRouter } from 'next/router';
@ -10,4 +11,12 @@ const NonePage = () => {
return <div></div>;
};
export async function getStaticProps(content: any) {
return {
props: {
...(await serviceSideProps(content))
}
};
}
export default NonePage;