MCPcopy Create free account
hub / github.com/AmazingAng/PolyWorld / notifyHeaderBalanceRefresh

Function notifyHeaderBalanceRefresh

src/components/OrderForm.tsx:67–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65}
66
67function notifyHeaderBalanceRefresh() {
68 if (typeof window !== "undefined") {
69 window.dispatchEvent(new CustomEvent("polyworld:refresh-header-balance"));
70 }
71}
72
73function humanizeError(msg: string, t: (key: string, vars?: Record<string, string | number>) => string): string {
74 const m = msg.toLowerCase();

Callers 1

OrderFormFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected