Fix imports and missing dependencies
This commit is contained in:
1 parent
f2179cfe57
commit
4af1d0e03b
32 files changed
+1655
-31
No files matched your search
@@ -13,6 +13,7 @@
|
||||
"@homaroma/types": "workspace:*",
|
||||
"@line/liff": "^2.28.0",
|
||||
"i18next": "^26.0.4",
|
||||
"lucide-react": "^1.17.0",
|
||||
"react": "^19.2.4",
|
||||
"react-dom": "^19.2.4",
|
||||
"react-i18next": "^17.0.2",
|
||||
|
||||
@@ -2,7 +2,7 @@ import React from 'react'
|
||||
import { X, ShoppingBag, Plus, Minus, Trash2, Tag, ArrowRight } from 'lucide-react'
|
||||
import { Link } from 'react-router-dom'
|
||||
import { useCartStore } from '../store/cartStore'
|
||||
import { formatPrice } from '@irelax/types'
|
||||
import { formatPrice } from '@homaroma/types'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { API_BASE } from '../types'
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { create } from 'zustand';
|
||||
import { persist } from 'zustand/middleware';
|
||||
import type { CartItem } from '@irelax/types';
|
||||
import type { CartItem } from '@homaroma/types';
|
||||
|
||||
interface CartState {
|
||||
items: CartItem[];
|
||||
|
||||
@@ -1 +1 @@
|
||||
export * from '@irelax/types'
|
||||
export * from '@homaroma/types'
|
||||
Reference in new issue
Block a user