このコミットが含まれているのは:
2026-10-18 23:26:55 +09:00
コミット 8bcc61c0f8
11個のファイルの変更、75行の追加、63行の削除
+5 -2
ファイルの表示
@@ -74,12 +74,15 @@ const PostEditForm: FC<Props> = ({ post, onSave }) => {
const dialogue = useDialogue ()
const update = async (...args: Parameters<typeof updatePost>) => {
const update = async (
postData: Parameters<typeof updatePost>[0],
options: Parameters<typeof updatePost>[1],
) => {
clearValidationErrors ()
try
{
const data = await updatePost (...args, undefined, locale)
const data = await updatePost (postData, options, locale)
onSave ({ ...post,
versionNo: data.versionNo,
title: data.title,
+1 -1
ファイルの表示
@@ -11,7 +11,7 @@ import type {
const TOAST_LIMIT = 1
const TOAST_REMOVE_DELAY = 1000000
type ToasterToast = ToastProps & {
type ToasterToast = Omit<ToastProps, 'title'> & {
id: string
title?: React.ReactNode
description?: React.ReactNode