fixed built errors in ssg mode
This commit is contained in:
@@ -17,14 +17,8 @@ const DynamicContent = dynamic(() => import('@components/note/content'), {
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
export const Single = memo(function Single({ event }: { event: any }) {
|
||||
const openThread = () => {
|
||||
console.log('ok');
|
||||
};
|
||||
|
||||
return (
|
||||
<div
|
||||
onClick={() => openThread()}
|
||||
className="flex h-min min-h-min w-full cursor-pointer select-text flex-col border-b border-zinc-800 py-4 px-6 hover:bg-zinc-800">
|
||||
<div className="flex h-min min-h-min w-full cursor-pointer select-text flex-col border-b border-zinc-800 py-4 px-6 hover:bg-zinc-800">
|
||||
<div className="flex flex-col">
|
||||
<User pubkey={event.pubkey} time={event.created_at} />
|
||||
<div className="-mt-4 pl-[60px]">
|
||||
|
||||
Reference in New Issue
Block a user