Dont require confirmation on delete, show undo action

This commit is contained in:
Jackson Harper
2023-08-04 13:44:31 +08:00
parent 81e54f0be6
commit 76e0b36dfb
6 changed files with 133 additions and 29 deletions

View File

@ -1,13 +1,15 @@
import { gql } from 'graphql-request'
import { gqlFetcher } from '../networkHelpers'
import { State } from '../fragments/articleFragment'
export type UpdatePageInput = {
pageId: string
title: string
title?: string
byline?: string | undefined
description: string
description?: string
savedAt?: string
publishedAt?: string
state?: State
}
export async function updatePageMutation(