Commit 316b6e6d authored by Lee Soobeom's avatar Lee Soobeom
Browse files

post CRUD기능 구현 완성

parent 3da19360
...@@ -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>
......
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