@orderly.network/ui-tradingview 3.0.1 → 3.0.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +12 -12
package/dist/index.js
CHANGED
|
@@ -429,7 +429,7 @@ var init_timeInterval = __esm({
|
|
|
429
429
|
return { mobileTimeIntervalMoreMap };
|
|
430
430
|
};
|
|
431
431
|
TimeInterval = (props) => {
|
|
432
|
-
const isMobile =
|
|
432
|
+
const { isMobile } = ui.useScreen();
|
|
433
433
|
if (isMobile) {
|
|
434
434
|
return /* @__PURE__ */ jsxRuntime.jsx(MobileTimeInterval, { ...props });
|
|
435
435
|
}
|
|
@@ -5016,7 +5016,7 @@ var TradingviewUI = React3.forwardRef((props, ref) => {
|
|
|
5016
5016
|
openChartIndicators,
|
|
5017
5017
|
onFullScreenChange
|
|
5018
5018
|
} = props;
|
|
5019
|
-
const isMobile =
|
|
5019
|
+
const { isMobile } = ui.useScreen();
|
|
5020
5020
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5021
5021
|
"div",
|
|
5022
5022
|
{
|