#49 ぼちぼち
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import React, { useEffect, useState } from 'react'
|
||||
import axios from 'axios'
|
||||
import { API_BASE_URL } from '@/config'
|
||||
import { Button } from '@/components/ui/button'
|
||||
|
||||
import type { Post, Tag } from '@/types'
|
||||
|
||||
@@ -64,9 +65,9 @@ export default ({ post, onSave }: Props) => {
|
||||
</div>
|
||||
|
||||
{/* 送信 */}
|
||||
<button onClick={handleSubmit}
|
||||
<Button onClick={handleSubmit}
|
||||
className="px-4 py-2 bg-blue-600 text-white rounded disabled:bg-gray-400">
|
||||
更新
|
||||
</button>
|
||||
</Button>
|
||||
</div>)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user