Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
travel
Commits
07970434
Commit
07970434
authored
Aug 15, 2022
by
Lee Soobeom
Browse files
post
parent
095820f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/post/post.tsx
View file @
07970434
...
...
@@ -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
=
"basis-full truncate"
>
<
button
id
=
{
post
.
_id
}
onClick
=
{
handleClick
}
>
<
Link
to
=
{
`
/post/
${
post
.
_id
}
`
}
state
=
{
post
}
>
<
Link
to
=
{
`
${
post
.
_id
}
`
}
state
=
{
post
}
>
{
post
.
title
}
</
Link
>
</
button
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment