diff --git a/frontend/src/components/PostEditForm.tsx b/frontend/src/components/PostEditForm.tsx
index e40c09e..a254ce1 100644
--- a/frontend/src/components/PostEditForm.tsx
+++ b/frontend/src/components/PostEditForm.tsx
@@ -2,7 +2,8 @@ import axios from 'axios'
import toCamel from 'camelcase-keys'
import { useState } from 'react'
-import TextArea from '@/components/common/TextArea'
+import PostFormTagsArea from '@/components/PostFormTagsArea'
+import Label from '@/components/common/Label'
import { Button } from '@/components/ui/button'
import { API_BASE_URL } from '@/config'
@@ -24,7 +25,7 @@ export default (({ post, onSave }: Props) => {
const handleSubmit = async () => {
const res = await axios.put (`${ API_BASE_URL }/posts/${ post.id }`, { title, tags },
{ headers: { 'Content-Type': 'multipart/form-data',
- 'X-Transfer-Code': localStorage.getItem ('user_code') || '' } } )
+ 'X-Transfer-Code': localStorage.getItem ('user_code') ?? '' } } )
const data = toCamel (res.data as any, { deep: true }) as Post
onSave ({ ...post,
title: data.title,
@@ -35,9 +36,7 @@ export default (({ post, onSave }: Props) => {
{/* タイトル */}
{/* タグ */}
-
-
-
+
{/* 送信 */}