Skip to content

Commit 6f8c4c3

Browse files
committed
Added user channel support
1 parent 00694e8 commit 6f8c4c3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/example-apps/tradingview/TradingViewWidget.tsx

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ export const TradingViewWidget = () => {
1212
fdc3.addIntentListener("ViewChart", async (context) => {
1313
setState(context?.id?.ticker);
1414
});
15+
16+
fdc3.addContextListener("fdc3.instrument", async (context) => {
17+
setState(context?.id?.ticker);
18+
});
1519
});
1620
}, []);
1721

0 commit comments

Comments
 (0)