Commit 6ed9198c by W.H Committed by GitHub

fix: page /404 translator not working bug (#5320)

parent 8460ee50
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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment