Quality of life update & package migrations. Use Vercel as default adapter (#67)
* Update all packages * Manual migration to SkeletonUI v4.8.0. Event elements has breaking tabs underline highlight * Remove unused dependencies & Let Prettier clean everything * Minor misc styling update
This commit is contained in:
@@ -2,17 +2,16 @@ import { createClient } from '@sanity/client';
|
||||
import { SANITY_ID } from '$env/static/private';
|
||||
|
||||
const client = createClient({
|
||||
projectId: SANITY_ID,
|
||||
dataset: 'production',
|
||||
useCdn: true,
|
||||
apiVersion: '2025-02-06'
|
||||
projectId: SANITY_ID,
|
||||
dataset: 'production',
|
||||
useCdn: true,
|
||||
apiVersion: '2025-02-06'
|
||||
});
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @param {String} query the GROQ query from Sanity CMS
|
||||
*/
|
||||
export async function getFromCMS(query: string) {
|
||||
return await client.fetch(query);
|
||||
return await client.fetch(query);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user