From 5f76cb6b54dfd6f859f1078079807b97dc1bd7fb Mon Sep 17 00:00:00 2001 From: Arthi-chaud Date: Fri, 7 Oct 2022 10:02:20 +0100 Subject: [PATCH] Front: Remove RNP dependency --- front/components/Loading.tsx | 4 ++-- front/package.json | 1 - front/yarn.lock | 7 +------ 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/front/components/Loading.tsx b/front/components/Loading.tsx index 775479c..e46a71c 100644 --- a/front/components/Loading.tsx +++ b/front/components/Loading.tsx @@ -1,8 +1,8 @@ import { useTheme } from "native-base"; -import { ActivityIndicator } from "react-native-paper"; +import { Spinner } from "native-base"; const LoadingComponent = () => { const theme = useTheme(); - return + return } export default LoadingComponent; \ No newline at end of file diff --git a/front/package.json b/front/package.json index afd0291..c7e7b49 100644 --- a/front/package.json +++ b/front/package.json @@ -34,7 +34,6 @@ "react-dom": "17.0.2", "react-i18next": "^11.18.3", "react-native": "0.68.2", - "react-native-paper": "^4.12.4", "react-native-safe-area-context": "4.2.4", "react-native-screens": "~3.11.1", "react-native-super-grid": "^4.6.1", diff --git a/front/yarn.lock b/front/yarn.lock index f4df595..9b25d1c 100644 --- a/front/yarn.lock +++ b/front/yarn.lock @@ -4475,8 +4475,6 @@ dom-helpers@^5.0.0: "@babel/runtime" "^7.8.7" csstype "^3.0.2" -<<<<<<< HEAD -======= dom-serializer@^1.0.1: version "1.4.1" resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-1.4.1.tgz#de5d41b1aea290215dc45a6dae8adcf1d32e2d30" @@ -4491,7 +4489,6 @@ domelementtype@^2.0.1, domelementtype@^2.2.0: resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d" integrity sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw== ->>>>>>> 6a31062336e1345961b0767376155d3f81c4550a domexception@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/domexception/-/domexception-2.0.1.tgz#fb44aefba793e1574b0af6aed2801d057529f304" @@ -8242,14 +8239,13 @@ react-native-screens@~3.11.1: react-freeze "^1.0.0" warn-once "^0.1.0" -<<<<<<< HEAD react-native-super-grid@^4.6.1: version "4.6.1" resolved "https://registry.yarnpkg.com/react-native-super-grid/-/react-native-super-grid-4.6.1.tgz#620a59e98375dd5138d3e6618991d09e93cbe318" integrity sha512-YEKN//TT3DZlbz+1m6YqnclYS+T/Qn2ELrZ0fjoXzB2U/AQoBflvtw0VsJkcPkf3RGWLbD1GKbKN6Hz9fPCVfg== dependencies: prop-types "^15.6.0" -======= + react-native-svg@12.3.0: version "12.3.0" resolved "https://registry.yarnpkg.com/react-native-svg/-/react-native-svg-12.3.0.tgz#40f657c5d1ee366df23f3ec8dae76fd276b86248" @@ -8257,7 +8253,6 @@ react-native-svg@12.3.0: dependencies: css-select "^4.2.1" css-tree "^1.0.0-alpha.39" ->>>>>>> 6a31062336e1345961b0767376155d3f81c4550a react-native-testing-library@^6.0.0: version "6.0.0"