mango-v4-ui/pages/search.tsx

24 lines
521 B
TypeScript
Raw Normal View History

2023-01-10 18:46:18 -08:00
import SearchPage from '@components/search/SearchPage'
2022-11-27 01:21:38 -08:00
import type { NextPage } from 'next'
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
export async function getStaticProps({ locale }: { locale: string }) {
return {
props: {
2023-01-10 18:46:18 -08:00
...(await serverSideTranslations(locale, [
'common',
'notifications',
2023-01-10 18:46:18 -08:00
'profile',
'search',
'settings',
2023-01-10 18:46:18 -08:00
])),
2022-11-27 01:21:38 -08:00
},
}
}
const Search: NextPage = () => {
2023-01-10 18:46:18 -08:00
return <SearchPage />
2022-11-27 01:21:38 -08:00
}
export default Search