Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5c8d84a

Browse files
Update cart.ts
1 parent c671726 commit 5c8d84a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/stores/cart.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const useCartStore = create<CartState>()(
4040
persist(
4141
(set) => ({
4242
cart: null,
43-
isLoading: true,
43+
isLoading: false,// Start with false since we'll show persisted data immediately
4444
setCart: (cart: RootObject | null) => set({ cart, isLoading: false }),
4545
updateCart: (newCart: RootObject) => {
4646
set({ cart: newCart });

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /