Skip to content

Commit

Permalink
Fix bug in sanity studio
Browse files Browse the repository at this point in the history
  • Loading branch information
selbekk committed Aug 25, 2023
1 parent 6908fae commit b61c562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/studio/sanity.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default defineConfig({
params.set("preview", import.meta.env.SANITY_STUDIO_PREVIEW_SECRET);

return `${host}/${category.slug}/${
(document?.slug as any).current
(document?.slug as any)?.current
}?${params}`;
}
return prev;
Expand Down

0 comments on commit b61c562

Please sign in to comment.