refactor(pages): migrate app data reads to api adapters

This commit is contained in:
zetaloop
2026-02-22 08:30:21 +08:00
parent 43a0cf7a73
commit 4beb610f23
13 changed files with 97 additions and 66 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import { mockTransactions } from "@/lib/mock"
import { useWalletStore } from "@/store/wallet"
export function listTransactions() {
return mockTransactions
return useWalletStore.getState().transactions
}