refactor(pages): migrate app data reads to api adapters
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { mockTransactions } from "@/lib/mock"
|
||||
import { useWalletStore } from "@/store/wallet"
|
||||
|
||||
export function listTransactions() {
|
||||
return mockTransactions
|
||||
return useWalletStore.getState().transactions
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user