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