From 8d2683b8586606e3a9ca8cf108c9efca0ed17a76 Mon Sep 17 00:00:00 2001 From: severo Date: Mon, 23 Oct 2023 23:52:21 -0300 Subject: [PATCH] fix: :bug: atualiza uso do sanity.io --- src/cliente.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cliente.js b/src/cliente.js index b9f3ff7..2d4f186 100644 --- a/src/cliente.js +++ b/src/cliente.js @@ -1,6 +1,7 @@ -import sanityClient from '@sanity/client'; +// import sanityClient from '@sanity/client'; +import { createClient } from '@sanity/client'; -export default sanityClient({ +export default createClient({ projectId: '26f1x0iy', dataset: 'production', // as informações acima estão no arquivo sanity.cli.js