chore: run lint fix

This commit is contained in:
Stevan Freeborn
2023-09-16 11:41:08 -05:00
parent 9ad0b51b29
commit 002b5b934f
33 changed files with 725 additions and 296 deletions
+12 -15
View File
@@ -16,39 +16,36 @@ export default function Reply({ post }: { post: PostWithUserDto }) {
const year = created.getFullYear();
return (
<div className='flex w-full gap-4'>
<div className="flex w-full gap-4">
<div>
<Link href={`/profile/${post.user.clerkUserId}`}>
<Image
alt='user profile image'
alt="user profile image"
src={post.user.clerkImageUrl}
width={40}
height={40}
className='rounded-full object-cover border-4 border-primary-accent'
className="rounded-full object-cover border-4 border-primary-accent"
/>
</Link>
</div>
<div className='flex flex-col flex-1 w-full border border-gray-600 rounded-md'>
<div className='flex flex-col w-full p-1'>
<div className='flex justify-between dark:bg-primary-gray p-2'>
<div className='text-sm'>
<div className="flex flex-col flex-1 w-full border border-gray-600 rounded-md">
<div className="flex flex-col w-full p-1">
<div className="flex justify-between dark:bg-primary-gray p-2">
<div className="text-sm">
{`${username} `}
<span className='text-[#7a838f]'>{`replied on ${month} ${day}, ${year}`}</span>
<span className="text-[#7a838f]">{`replied on ${month} ${day}, ${year}`}</span>
</div>
{isLoaded && isSignedIn && user.id === post.user.clerkUserId ? (
<PostActionModal postId={post._id} />
) : null}
</div>
<div className='p-1'>
<div className='p-2 rounded-md dark:bg-secondary-gray'>
<div className="p-1">
<div className="p-2 rounded-md dark:bg-secondary-gray">
<PostContent content={Text.of(post.content).toString()} />
</div>
</div>
<div className='p-1'>
<PostActionButton
postId={post._id}
showReply={false}
/>
<div className="p-1">
<PostActionButton postId={post._id} showReply={false} />
</div>
</div>
</div>