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() {
...
@@ -166,9 +166,8 @@ export function EditPost() {
onChange
=
{
titleChange
}
onChange
=
{
titleChange
}
placeholder
=
"title"
placeholder
=
"title"
className
=
"w-full h-8"
className
=
"w-full h-8"
>
defaultValue
=
{
post
.
title
}
{
post
.
title
}
></
textarea
>
</
textarea
>
</
div
>
</
div
>
<
div
className
=
"flex border-2"
>
<
div
className
=
"flex border-2"
>
<
textarea
<
textarea
...
@@ -176,9 +175,8 @@ export function EditPost() {
...
@@ -176,9 +175,8 @@ export function EditPost() {
name
=
"text"
name
=
"text"
placeholder
=
"text"
placeholder
=
"text"
className
=
"w-full h-96"
className
=
"w-full h-96"
>
defaultValue
=
{
post
.
text
}
{
post
.
text
}
></
textarea
>
</
textarea
>
</
div
>
</
div
>
</
form
>
</
form
>
</
div
>
</
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