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
316b6e6d
Commit
316b6e6d
authored
Jul 21, 2022
by
Lee Soobeom
Browse files
post CRUD기능 구현 완성
parent
3da19360
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/post/editpost.tsx
View file @
316b6e6d
...
...
@@ -166,9 +166,8 @@ export function EditPost() {
onChange
=
{
titleChange
}
placeholder
=
"title"
className
=
"w-full h-8"
>
{
post
.
title
}
</
textarea
>
defaultValue
=
{
post
.
title
}
></
textarea
>
</
div
>
<
div
className
=
"flex border-2"
>
<
textarea
...
...
@@ -176,9 +175,8 @@ export function EditPost() {
name
=
"text"
placeholder
=
"text"
className
=
"w-full h-96"
>
{
post
.
text
}
</
textarea
>
defaultValue
=
{
post
.
text
}
></
textarea
>
</
div
>
</
form
>
</
div
>
...
...
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