This commit is contained in:
		| @@ -10,7 +10,7 @@ export default async function WritePage({ | |||||||
|   params: Promise<{ slug: string[] | undefined }>; |   params: Promise<{ slug: string[] | undefined }>; | ||||||
| }) { | }) { | ||||||
|   if ((await auth())?.user == null) { |   if ((await auth())?.user == null) { | ||||||
|     signIn(); |     await signIn(); | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   const slug = (await params).slug?.[0]; |   const slug = (await params).slug?.[0]; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Nareshkumar Rao
					Nareshkumar Rao