mirror of
https://github.com/sern-handler/bin
synced 2026-06-06 01:16:52 +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')
|
redirect('/s-notfound')
|
||||||
}
|
}
|
||||||
|
|
||||||
const user = await clerkClient.users.getUser(query.authorId)
|
const user = await clerkClient.users.getUser(query.authorId).catch(() => { return { username: 'Unknown' } })
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<div className='snippetDescription'>
|
<div className='snippetDescription'>
|
||||||
|
|||||||
Reference in New Issue
Block a user