From 49f3c5d8f3669b41e3c6695dd3f56eb0283150d3 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Sat, 26 Nov 2022 15:12:26 -0600 Subject: [PATCH] components: move ViewHeightSensor we've moved all of the other components already --- src/{utils => components}/ViewHeightSensor.test.tsx | 0 src/{utils => components}/ViewHeightSensor.tsx | 0 src/index.tsx | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename src/{utils => components}/ViewHeightSensor.test.tsx (100%) rename src/{utils => components}/ViewHeightSensor.tsx (100%) diff --git a/src/utils/ViewHeightSensor.test.tsx b/src/components/ViewHeightSensor.test.tsx similarity index 100% rename from src/utils/ViewHeightSensor.test.tsx rename to src/components/ViewHeightSensor.test.tsx diff --git a/src/utils/ViewHeightSensor.tsx b/src/components/ViewHeightSensor.tsx similarity index 100% rename from src/utils/ViewHeightSensor.tsx rename to src/components/ViewHeightSensor.tsx diff --git a/src/index.tsx b/src/index.tsx index e842f4c6..6370d73f 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -13,13 +13,13 @@ import { createLogger } from 'redux-logger'; import createSagaMiddleware from 'redux-saga'; import App from './app/App'; import { appVersion } from './app/constants'; +import ViewHeightSensor from './components/ViewHeightSensor'; import { db } from './fileStorage/context'; import { i18nManager } from './i18n'; import { rootReducer } from './reducers'; import reportWebVitals from './reportWebVitals'; import rootSaga, { RootSagaContext } from './sagas'; import { defaultTerminalContext } from './terminal/TerminalContext'; -import ViewHeightSensor from './utils/ViewHeightSensor'; import { createCountFunc } from './utils/iter'; const toasterRef = React.createRef();