MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / wrapper

Function wrapper

apps/start/src/components/organization/billing-usage.tsx:67–74  ·  view source on GitHub ↗
(node: React.ReactNode)

Source from the content-addressed store, hash-verified

65 const yAxisProps = useYAxisProps({});
66
67 const wrapper = (node: React.ReactNode) => (
68 <Widget className="w-full">
69 <WidgetHead className="flex items-center justify-between">
70 <span className="title">Usage</span>
71 </WidgetHead>
72 <WidgetBody>{node}</WidgetBody>
73 </Widget>
74 );
75
76 if (usageQuery.isLoading) {
77 return wrapper(

Callers 1

BillingUsageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected