Commit 07970434 authored by Lee Soobeom's avatar Lee Soobeom
Browse files

post

parent 095820f9
...@@ -13,7 +13,7 @@ export default function Post({ handleClick, post }: Props) { ...@@ -13,7 +13,7 @@ export default function Post({ handleClick, post }: Props) {
<div className="flex flex-row h-16 divide-x-2 border-2 border-solid"> <div className="flex flex-row h-16 divide-x-2 border-2 border-solid">
<div className="basis-full truncate"> <div className="basis-full truncate">
<button id={post._id} onClick={handleClick}> <button id={post._id} onClick={handleClick}>
<Link to={`/post/${post._id}`} state={post}> <Link to={`${post._id}`} state={post}>
{post.title} {post.title}
</Link> </Link>
</button> </button>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment