Skip to content

Commit 4452fc1

Browse files
committed
chore(insights, component-library): removed unused select prop and removed commented code
1 parent 23ba7e8 commit 4452fc1

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

apps/insights/src/hooks/pyth-pro-demo/use-pyth-core-websocket.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@ const SYMBOL_TO_PRICE_FEED_MAP = new Map<Nullish<AllAllowedSymbols>, string>([
5858
"2f007d2339327f9be181b61354ca0ec579d8c4ed37d575bb66921109ebffc2c9",
5959
],
6060
["no_symbol_selected", ""],
61-
// [
62-
// "ESH2026",
63-
// "2f007d2339327f9be181b61354ca0ec579d8c4ed37d575bb66921109ebffc2c9",
64-
// ],
65-
// ["US10Y", "9c196541230ba421baa2a499214564312a46bb47fb6b61ef63db2f70d3ce34c1"],
6661
]);
6762

6863
const PRICE_FEED_TO_SYMBOL_MAP = new Map(

packages/component-library/src/Select/index.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,6 @@ export type Props<T extends { id: string | number }> = Omit<
5050
hideLabel?: boolean | undefined;
5151
buttonLabel?: ReactNode;
5252
defaultButtonLabel?: ReactNode;
53-
/**
54-
* if provided, allows you to customize how
55-
* each option displayed in the dropdown list popover
56-
* is rendered
57-
*/
58-
renderOption?: (value: T) => ReactNode;
5953
} & (
6054
| {
6155
defaultSelectedKey?: T["id"] | undefined;

0 commit comments

Comments
 (0)