From b7d62f349b0857242a8826afbb598b99e14dba40 Mon Sep 17 00:00:00 2001 From: Guido X Jansen Date: Tue, 26 Nov 2024 15:52:32 +0100 Subject: [PATCH] keystatic fix #3 --- keystatic.config.ts | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/keystatic.config.ts b/keystatic.config.ts index c5a840c..75532db 100644 --- a/keystatic.config.ts +++ b/keystatic.config.ts @@ -1,10 +1,8 @@ import { config, fields, collection } from '@keystatic/core'; -import type { Config } from '@keystatic/core'; -// Create the configuration object with proper typing -const keystaticConfig = { +export default config({ storage: { - kind: 'cloud' as const, + kind: 'cloud', }, cloud: { project: 'commercequest/cq-astro', @@ -132,9 +130,4 @@ const keystaticConfig = { }, }), }, -} satisfies Config; - -// Export both the typed config and the config function result -export default config(keystaticConfig); -export type { Config }; -export { keystaticConfig }; +});