@@ -35,10 +35,9 @@ function MarkdownEditorLayout({ children, mdxText }: Props) {
35
35
const { mutateAsync : createPageAsyncMutate , isPending : isCreatePending } = useCreatePageMutation ( )
36
36
const { mutateAsync : reorderAsyncMutate , isPending : isReorderPending } = useReorderPageMutation ( )
37
37
const { mutateAsync : updatePageAsyncMutate , isPending : isUpdatePending } = useUpdatePageMutation ( )
38
- const { mutateAsync : buildAsyncMutate , isPending : isBuildPending } = useBuildMutation ( )
39
- const { mutateAsync : deployAsyncMutate , isPending : isDeployPending } = useDeployMutation ( )
40
- const { mutateAsync : deletePageAsyncMutate , isPending : isDeletePagePending } =
41
- useDeletePageMutation ( )
38
+ const { mutateAsync : buildAsyncMutate } = useBuildMutation ( )
39
+ const { mutateAsync : deployAsyncMutate } = useDeployMutation ( )
40
+ const { mutateAsync : deletePageAsyncMutate } = useDeletePageMutation ( )
42
41
43
42
const {
44
43
data : getPagesData ,
@@ -66,7 +65,7 @@ function MarkdownEditorLayout({ children, mdxText }: Props) {
66
65
useEffect ( ( ) => {
67
66
if ( ! deployCompleted . data ) return
68
67
console . log ( deployCompleted )
69
- const { message , published_url } = deployCompleted . data
68
+ const { published_url } = deployCompleted . data
70
69
if ( published_url ) {
71
70
console . log ( 'published_url in client' , published_url )
72
71
const event = new CustomEvent ( markdownCustomEventName . deployEndEvent , {
0 commit comments