mirror of
https://github.com/sern-handler/bin
synced 2026-06-05 17:06:50 +00:00
feat: unknown if error
This commit is contained in:
@@ -20,7 +20,7 @@ export default async function Page({ params }: { params: { id: string } }) {
|
||||
redirect('/s-notfound')
|
||||
}
|
||||
|
||||
const user = await clerkClient.users.getUser(query.authorId)
|
||||
const user = await clerkClient.users.getUser(query.authorId).catch(() => { return { username: 'Unknown' } })
|
||||
return (
|
||||
<div>
|
||||
<div className='snippetDescription'>
|
||||
|
||||
Reference in New Issue
Block a user