Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
students
travel
Commits
095820f9
Commit
095820f9
authored
Aug 15, 2022
by
Lee Soobeom
Browse files
intopost
parent
2b374f4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/post/intopost.tsx
View file @
095820f9
...
...
@@ -3,6 +3,7 @@ import { useLocation, useNavigate, Link, Outlet } from "react-router-dom";
import
{
catchErrors
}
from
"
../helpers
"
;
import
{
postApi
}
from
"
../apis
"
;
import
{
PostType
}
from
"
../types
"
;
import
{
Props
}
from
"
./post
"
;
export
interface
PostState
{
state
:
PostType
;
...
...
@@ -54,11 +55,11 @@ export function IntoPost() {
>
삭제
</
button
>
<
Link
to
=
"/edit"
state
=
{
posts
}
>
<
button
className
=
"whitespace-nowrap flex border-2 border-sky-100 place-self-center h-6 w-8 text-xs transition delay-150 bg-white-400 hover:-translate-y-1 hover:bg-sky-300 duration-300"
>
<
button
className
=
"whitespace-nowrap flex border-2 border-sky-100 place-self-center h-6 w-8 text-xs transition delay-150 bg-white-400 hover:-translate-y-1 hover:bg-sky-300 duration-300"
>
<
Link
to
=
"edit"
state
=
{
posts
}
>
수정
</
button
>
</
Link
>
</
Link
>
</
button
>
</
div
>
<
div
className
=
"flex h-10 border-t-2 border-sky-500 items-center text-2xl font-medium md:text-2xl"
>
{
posts
?.
title
}
...
...
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