Skip to content

Commit 53463f3

Browse files
horaciohclaude
andcommitted
fix: restore missing validatePath import in publish-draft-button
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ad9cc20 commit 53463f3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

frontend/apps/desktop/src/components/publish-draft-button.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import {useResource} from '@shm/shared/models/entity'
1515
import {invalidateQueries} from '@shm/shared/models/query-client'
1616
import {queryKeys} from '@shm/shared/models/query-keys'
1717
import {DraftRoute} from '@shm/shared/routes'
18+
import {validatePath} from '@shm/shared/utils/document-path'
1819
import {
1920
createSiteUrl,
2021
createWebHMUrl,

frontend/packages/ui/src/document-tools.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export function DocumentTools({
202202
{...sidebarProps}
203203
className={cn(
204204
sidebarProps.className,
205-
'flex items-center !h-auto !p-0',
205+
'flex !h-auto items-center !p-0',
206206
)}
207207
>
208208
{rightActions ? (

0 commit comments

Comments
 (0)