From 2930eb21ba528f9aa8dc0dcffd9681af7d40c515 Mon Sep 17 00:00:00 2001 From: Ane Date: Wed, 28 Aug 2024 11:57:40 +0200 Subject: [PATCH] Rename OpenSharedButton with OpenSharedLink in blog schema --- studio/components/OpenSharedButton.tsx | 9 --------- studio/components/OpenSharedLink.tsx | 9 +++++++++ studio/schemas/documents/blog.ts | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 studio/components/OpenSharedButton.tsx create mode 100644 studio/components/OpenSharedLink.tsx 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