@sanity/dashboard
6.0.86.0.9
dist/index.js~
dist/index.jsModified+1−1
Index: package/dist/index.js
===================================================================
--- package/dist/index.js
+++ package/dist/index.js
@@ -570,9 +570,9 @@
})
}), $[21] = href, $[22] = t9, $[23] = t10) : t10 = $[23], t10;
}
function createUrl(slug, type) {
- return type === "tutorial" ? `https://www.sanity.io/docs/tutorials/${slug.current}` : type === "guide" ? `https://www.sanity.io/docs/guides/${slug.current}` : !1;
+ return type === "tutorial" ? `https://www.sanity.io/docs/tutorials/${slug.current}` : type === "guide" && `https://www.sanity.io/docs/guides/${slug.current}`;
}
function SanityTutorials(props) {
let $ = c(10), { templateRepoId } = props, t0;
$[0] === Symbol.for("react.memo_cache_sentinel") ? (t0 = [], $[0] = t0) : t0 = $[0];