From d05608268bafec850ae941ad47c6a8038abfdccd Mon Sep 17 00:00:00 2001 From: Nils Stolpe Date: Tue, 5 Nov 2024 13:35:40 -0500 Subject: [PATCH] added call to diff function so it'll be included in bundle --- packages/victory-candlestick/src/helper-methods.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/victory-candlestick/src/helper-methods.ts b/packages/victory-candlestick/src/helper-methods.ts index 9662fdaf2..efdeaa47a 100644 --- a/packages/victory-candlestick/src/helper-methods.ts +++ b/packages/victory-candlestick/src/helper-methods.ts @@ -482,15 +482,14 @@ export const getBaseProps = (initialProps, fallbackProps) => { ); } }); - + // @TODO: remove this when analyzer diff is confirmed to work. + bundleSizeIsDifferent(); return childProps; }, initialChildProps); }; -// @TODO: remove this before merging, it's just for verifying the analysis and report. - // @TODO: remove this when analyzer diff is confirmed to work. -export const bundleSizeIsDifferent = () => { +const bundleSizeIsDifferent = () => { const x = "the bundle size should be different"; const y = "the bundle size should be different"; const z = "the bundle size should be different";