We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcb8b5a commit 662bab2Copy full SHA for 662bab2
packages/ui/src/elements/PublishButton/index.tsx
@@ -174,7 +174,7 @@ export function PublishButton({ label: labelProp }: PublishButtonClientProps) {
174
})
175
176
const action = `${serverURL}${api}${
177
- globalSlug ? `/globals/${globalSlug}` : `/${collectionSlug}/${id ? `${'/' + id}` : ''}`
+ globalSlug ? `/globals/${globalSlug}` : `/${collectionSlug}${id ? `/${id}` : ''}`
178
}${params ? '?' + params : ''}`
179
180
const result = await submit({
0 commit comments