From 5cd6dfdc1d8c95de4b01515d6f492f990a90f00e Mon Sep 17 00:00:00 2001 From: Reinaldo Neto Date: Wed, 10 Aug 2022 16:23:18 -0300 Subject: [PATCH] minor tweak --- app/index.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/app/index.tsx b/app/index.tsx index 5380e1f5d..cc8f85549 100644 --- a/app/index.tsx +++ b/app/index.tsx @@ -154,7 +154,6 @@ const Root = () => { // Dimensions update fires twice const onDimensionsChange = useCallback( debounce(({ window: { width, height, scale, fontScale } }: { window: IDimensions }) => { - // Test when migrate to React 18 https://reactjs.org/blog/2022/03/29/react-v18.html#new-feature-automatic-batching // We need this batchedUpdates because we are calling this from a debounce and // the React isn't able to batch multiples setState inside a setTimeout // https://stackoverflow.com/a/48610973