Skip to content

Commit

Permalink
keystatic fix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
gxjansen committed Nov 26, 2024
1 parent 53bee2b commit b7d62f3
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions keystatic.config.ts
Original file line number Diff line number Diff line change
@@ -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',
Expand Down Expand Up @@ -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 };
});

0 comments on commit b7d62f3

Please sign in to comment.