fix(build): drop missing transactions page data import.
Ghatreh lacks useTransactionsPageData; the dynamic import broke Vite production builds. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -56,14 +56,6 @@ async function finishSuccess() {
|
||||
} catch {
|
||||
/* ignore */
|
||||
}
|
||||
try {
|
||||
const { resetTransactionsPageData } = await import(
|
||||
'@/views/base/transactions/composables/useTransactionsPageData'
|
||||
)
|
||||
resetTransactionsPageData()
|
||||
} catch {
|
||||
/* optional */
|
||||
}
|
||||
message.success('سفارش شما با موفقیت انجام شد')
|
||||
if (router.currentRoute.value.name !== 'transactions') {
|
||||
await router.push({ name: 'transactions' })
|
||||
|
||||
Reference in New Issue
Block a user