Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
6ed9198c
authored
Jul 28, 2025
by
W.H
Committed by
GitHub
Jul 28, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: page /404 translator not working bug (#5320)
parent
8460ee50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
projects/app/src/pages/404.tsx
+9
-0
No files found.
projects/app/src/pages/404.tsx
View file @
6ed9198c
import
{
serviceSideProps
}
from
'@/web/common/i18n/utils'
;
import
React
,
{
useEffect
}
from
'react'
;
import
React
,
{
useEffect
}
from
'react'
;
import
{
useRouter
}
from
'next/router'
;
import
{
useRouter
}
from
'next/router'
;
...
@@ -10,4 +11,12 @@ const NonePage = () => {
...
@@ -10,4 +11,12 @@ const NonePage = () => {
return
<
div
></
div
>;
return
<
div
></
div
>;
};
};
export
async
function
getStaticProps
(
content
:
any
)
{
return
{
props
:
{
...(
await
serviceSideProps
(
content
))
}
};
}
export
default
NonePage
;
export
default
NonePage
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment