feat(brand): rebrand to Hedena Gold and bring main user-app chrome
Rename the brand, ship Hedena logos, persist login OTP text in the SMS list, and port home/nav/auth/theme polish from main while keeping expert customers intact. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -7,10 +7,7 @@ export function useCachedReads() {
|
||||
const cache = useQueryCache()
|
||||
return {
|
||||
me: (o?: FetchOptions) => cache.fetch(KEYS.profile, api.getMe, o),
|
||||
// Orders are paged (infinite scroll). The list screen calls api.getMyOrders
|
||||
// directly; this helper only covers a rare full-first-page peek/invalidate.
|
||||
myOrders: (o?: FetchOptions) =>
|
||||
cache.fetch(KEYS.orders, () => api.getMyOrders({ page: 1 }).then((p) => p.result), o),
|
||||
myOrders: (o?: FetchOptions) => cache.fetch(KEYS.orders, api.getMyOrders, o),
|
||||
accountingBalance: (o?: FetchOptions) => cache.fetch(KEYS.balance, api.getAccountingBalance, o),
|
||||
myLedgerEntries: (o?: FetchOptions) => cache.fetch(KEYS.ledger, api.getMyLedgerEntries, o),
|
||||
goldPrice: (o?: FetchOptions) => cache.fetch(KEYS.goldPrice, () => api.getLatestGoldPrice(), o),
|
||||
|
||||
Reference in New Issue
Block a user