From acd26eaa6bed6da07d8d32dd5182ecb1f73820b6 Mon Sep 17 00:00:00 2001 From: Przemek Date: Wed, 10 Jul 2024 14:03:09 +0200 Subject: [PATCH] handle additional fields --- package.json | 2 +- src/components/Authentication/AuthWrapper.tsx | 2 +- src/hooks/useNotification.ts | 2 +- src/pages/register/index.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index a2c16deb..8eba67fe 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "@capacitor/ios": "^5.7.3", "@capacitor/local-notifications": "^5.0.7", "@capacitor/status-bar": "^5.0.7", - "@escolalms/components": "^0.0.141", + "@escolalms/components": "^0.0.143", "@escolalms/h5p-react": "^0.2.19", "@escolalms/sdk": "0.5.35", "@escolalms/ts-models": "^0.0.35", diff --git a/src/components/Authentication/AuthWrapper.tsx b/src/components/Authentication/AuthWrapper.tsx index c0e62782..fc3bd9ee 100644 --- a/src/components/Authentication/AuthWrapper.tsx +++ b/src/components/Authentication/AuthWrapper.tsx @@ -2,7 +2,7 @@ import styled from "styled-components"; const StyledLoginPage = styled.div` min-height: calc(100vh - 452px); - height: 700px; + display: flex; align-items: center; justify-content: center; diff --git a/src/hooks/useNotification.ts b/src/hooks/useNotification.ts index 77457cd5..1ccb9612 100644 --- a/src/hooks/useNotification.ts +++ b/src/hooks/useNotification.ts @@ -2,7 +2,7 @@ import { EscolaLMSContext } from "@escolalms/sdk/lib/react"; import { Notification } from "@escolalms/sdk/lib/types/api"; import { useContext, useEffect, useState, useCallback } from "react"; import useInfiniteScroll from "react-infinite-scroll-hook"; -import debounce from "lodash/debounce"; +import debounce from "lodash.debounce"; export const useNotifications = () => { const [list, setList] = useState([]); diff --git a/src/pages/register/index.tsx b/src/pages/register/index.tsx index c66316bc..7e6e61dd 100644 --- a/src/pages/register/index.tsx +++ b/src/pages/register/index.tsx @@ -26,7 +26,7 @@ import { isMobilePlatform } from "@/utils/index"; const StyledRegisterPage = styled.div` padding-top: 100px; padding-bottom: 50px; - height: 900px; + min-height: 900px; display: flex; align-items: center; justify-content: center;