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

Function TraderPanel

src/components/TraderPanel.tsx:31–49  ·  view source on GitHub ↗
({
  selectedWallet,
}: TraderPanelProps)

Source from the content-addressed store, hash-verified

29}
30
31export default function TraderPanel({
32 selectedWallet,
33}: TraderPanelProps) {
34 if (!selectedWallet) {
35 return (
36 <TraderPanelContent
37 key="empty"
38 selectedWallet={null}
39 />
40 );
41 }
42
43 return (
44 <TraderPanelContent
45 key={selectedWallet}
46 selectedWallet={selectedWallet}
47 />
48 );
49}
50
51function TraderPanelContent({
52 selectedWallet,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected