fix: update dependencies to latest
This commit is contained in:
@ -35,7 +35,7 @@ const UserProfilePage: NextPage<UserProfilePageProps> = (props) => {
|
||||
export const getServerSideProps = authenticationFromServerSide({
|
||||
shouldBeAuthenticated: true,
|
||||
fetchData: async (context, api) => {
|
||||
const userId = Number(context?.params?.userId)
|
||||
const userId = Number(context?.params?.['userId'])
|
||||
if (isNaN(userId)) {
|
||||
return {
|
||||
notFound: true
|
||||
|
Reference in New Issue
Block a user