chore(candles-chart): show more candles by default (#4734)

This commit is contained in:
Maciek 2023-09-09 00:15:36 +02:00 committed by GitHub
parent 719d210219
commit b3308439bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,8 @@ export type CandlesChartContainerProps = {
marketId: string;
};
const INITIAL_CANDLES_TO_ZOOM = 150;
export const CandlesChartContainer = ({
marketId,
}: CandlesChartContainerProps) => {
@ -36,6 +38,7 @@ export const CandlesChartContainer = ({
notEnoughDataText: (
<span className="text-xs text-center">{t('No data')}</span>
),
initialNumCandlesToDisplay: INITIAL_CANDLES_TO_ZOOM,
}}
interval={interval}
theme={theme}