diff --git a/lib/event-store.ts b/lib/event-store.ts index 06ff115..c580029 100644 --- a/lib/event-store.ts +++ b/lib/event-store.ts @@ -111,8 +111,6 @@ export function createEventStore( ): [GetValueType, (payload: GetValueType) => void] => { const disableCache = options?.disableCache ?? false; - const disableCache = options?.disableCache ?? false; - const defaultValue: GetValueType = get(type, state$.getValue());