diff --git a/studio/components/OpenSharedButton.tsx b/studio/components/OpenSharedButton.tsx
deleted file mode 100644
index 33fe51d18..000000000
--- a/studio/components/OpenSharedButton.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-import { Button } from "@sanity/ui";
-
-export const OpenSharedButton = () => {
- const handleClick = () => {
- window.open("http://localhost:3000/shared", "_blank");
- };
-
- return ;
-};
diff --git a/studio/components/OpenSharedLink.tsx b/studio/components/OpenSharedLink.tsx
new file mode 100644
index 000000000..d5727bd80
--- /dev/null
+++ b/studio/components/OpenSharedLink.tsx
@@ -0,0 +1,9 @@
+import Link from "next/link";
+
+export const OpenSharedLink = () => {
+ return (
+
+ Go to shared
+
+ );
+};
diff --git a/studio/schemas/documents/blog.ts b/studio/schemas/documents/blog.ts
index 2a790a428..bb1134ee8 100644
--- a/studio/schemas/documents/blog.ts
+++ b/studio/schemas/documents/blog.ts
@@ -2,7 +2,7 @@ import { defineField, defineType } from "sanity";
import seo from "../objects/seo";
import { pageSlug } from "../schemaTypes/slug";
import { title } from "../fields/text";
-import { OpenSharedButton } from "studio/components/OpenSharedButton";
+import { OpenSharedLink } from "studio/components/OpenSharedLink";
export const blogId = "blog";
@@ -60,9 +60,9 @@ const blog = defineType({
title: "Go To Shared Content",
description:
"To create and edit blog posts, go to the shared Sanity project",
- type: "string",
+ type: "link",
components: {
- input: OpenSharedButton,
+ input: OpenSharedLink,
},
}),
],