From 8dceb5eb36226f1d097d02c47e1b24231dc333d1 Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Wed, 13 Mar 2024 17:35:33 +0800 Subject: Fix check example CI fail (#10415) --- examples/with-nanostores/src/cartStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/with-nanostores/src') diff --git a/examples/with-nanostores/src/cartStore.ts b/examples/with-nanostores/src/cartStore.ts index 00270180a..a57a6ce87 100644 --- a/examples/with-nanostores/src/cartStore.ts +++ b/examples/with-nanostores/src/cartStore.ts @@ -13,7 +13,7 @@ export type CartItemDisplayInfo = Pick; export const cartItems = map>({}); -export function addCartItem({ id, name, imageSrc }: CartItem) { +export function addCartItem({ id, name, imageSrc }: CartItemDisplayInfo) { const existingEntry = cartItems.get()[id]; if (existingEntry) { cartItems.setKey(id, { -- cgit v1.2.3