From 58ba69906d1d1290801746f24762ce270aeb3a3f Mon Sep 17 00:00:00 2001 From: Marc Glasser Date: Thu, 11 Jan 2024 15:01:16 -1000 Subject: [PATCH] use typescript' --- .../ErrorPage/{UpdateRequiredView.js => UpdateRequiredView.tsx} | 2 +- src/styles/utils/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/pages/ErrorPage/{UpdateRequiredView.js => UpdateRequiredView.tsx} (99%) diff --git a/src/pages/ErrorPage/UpdateRequiredView.js b/src/pages/ErrorPage/UpdateRequiredView.tsx similarity index 99% rename from src/pages/ErrorPage/UpdateRequiredView.js rename to src/pages/ErrorPage/UpdateRequiredView.tsx index bba2f346772d..2a73215d2293 100644 --- a/src/pages/ErrorPage/UpdateRequiredView.js +++ b/src/pages/ErrorPage/UpdateRequiredView.tsx @@ -22,7 +22,7 @@ function UpdateRequiredView() { return ( - +
diff --git a/src/styles/utils/index.ts b/src/styles/utils/index.ts index 52d0ee064deb..2c81e8eb202e 100644 --- a/src/styles/utils/index.ts +++ b/src/styles/utils/index.ts @@ -1431,7 +1431,7 @@ const createStyleUtils = (theme: ThemeColors, styles: ThemeStyles) => ({ return containerStyles; }, - getUpdateRequiredViewStyles: (isSmallScreenWidth: boolean) => [ + getUpdateRequiredViewStyles: (isSmallScreenWidth: boolean): ViewStyle[] => [ { alignItems: 'center', justifyContent: 'center',