diff --git a/client/src/store/artifacts.ts b/client/src/store/artifacts.ts index 615baf2064..1e1bff61f2 100644 --- a/client/src/store/artifacts.ts +++ b/client/src/store/artifacts.ts @@ -2,9 +2,9 @@ import { atom } from 'recoil'; import { logger } from '~/utils'; import type { Artifact } from '~/common'; -export const artifactsState = atom>({ +export const artifactsState = atom | null>({ key: 'artifactsState', - default: {}, + default: null, effects: [ ({ onSet, node }) => { onSet(async (newValue) => {