From 8f77886a21a312b017bc9133494052d347688493 Mon Sep 17 00:00:00 2001 From: Uyadav207 Date: Sat, 27 Mar 2021 00:18:30 +0530 Subject: [PATCH 1/4] fix: React-view render error --- src/components/playground/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/playground/index.jsx b/src/components/playground/index.jsx index e419f13..0780ee9 100644 --- a/src/components/playground/index.jsx +++ b/src/components/playground/index.jsx @@ -24,8 +24,8 @@ export default ({ params }) => { placeholder={Placeholder} /> - + From b32f020e75e054ec2b553d2bdd76c477645f2ca5 Mon Sep 17 00:00:00 2001 From: Uyadav207 Date: Sat, 27 Mar 2021 14:43:17 +0530 Subject: [PATCH 2/4] code-cleaning minor warnings removal --- package.json | 2 +- src/components/Footer/index.jsx | 10 +--------- src/components/PropDrawer/index.jsx | 3 --- src/containers/Navigation/index.jsx | 8 +------- src/content/BottomSheet/bottomsheet.playground.jsx | 2 -- src/content/Icon/icon.playground.jsx | 2 -- src/content/Input/input.playground.jsx | 2 -- 7 files changed, 3 insertions(+), 26 deletions(-) diff --git a/package.json b/package.json index 3d559f2..f0dfa52 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "react-native-web-linear-gradient": "^1.1.1", "react-router-dom": "^5.2.0", "react-scripts": "3.4.1", - "react-view": "^2.3.2" + "react-view": "^2.3.7" }, "scripts": { "start": "react-app-rewired start", diff --git a/src/components/Footer/index.jsx b/src/components/Footer/index.jsx index e72c007..198eddd 100644 --- a/src/components/Footer/index.jsx +++ b/src/components/Footer/index.jsx @@ -1,13 +1,5 @@ import React from "react"; -import { Link } from "react-router-dom"; -import { - Paper, - Grid, - ListItem, - Typography, - Button, - Divider, -} from "@material-ui/core"; +import { Grid, Typography, Divider } from "@material-ui/core"; import pjson from "../../../package.json"; import styles from "./Footer.module.css"; diff --git a/src/components/PropDrawer/index.jsx b/src/components/PropDrawer/index.jsx index 3d85013..32f5a35 100644 --- a/src/components/PropDrawer/index.jsx +++ b/src/components/PropDrawer/index.jsx @@ -1,7 +1,4 @@ import React from "react"; -import clsx from "clsx"; -import { makeStyles } from "@material-ui/core/styles"; - import { Drawer, Fab } from "@material-ui/core"; export default function TemporaryDrawer(props) { diff --git a/src/containers/Navigation/index.jsx b/src/containers/Navigation/index.jsx index f154082..7763df6 100644 --- a/src/containers/Navigation/index.jsx +++ b/src/containers/Navigation/index.jsx @@ -1,12 +1,6 @@ import React from "react"; -import { - BrowserRouter as Router, - Switch, - Route, - Link, - Redirect, -} from "react-router-dom"; +import { BrowserRouter as Router, Switch, Route } from "react-router-dom"; import { Helmet } from "react-helmet"; import Footer from "../../components/Footer"; diff --git a/src/content/BottomSheet/bottomsheet.playground.jsx b/src/content/BottomSheet/bottomsheet.playground.jsx index 355daab..0996394 100644 --- a/src/content/BottomSheet/bottomsheet.playground.jsx +++ b/src/content/BottomSheet/bottomsheet.playground.jsx @@ -1,6 +1,4 @@ import * as React from "react"; -import { useState } from "react"; -import { View } from "react-native"; import { BottomSheet, Text } from "react-native-elements"; import Playground from "../../components/playground"; diff --git a/src/content/Icon/icon.playground.jsx b/src/content/Icon/icon.playground.jsx index 841c92d..676467d 100644 --- a/src/content/Icon/icon.playground.jsx +++ b/src/content/Icon/icon.playground.jsx @@ -1,6 +1,4 @@ import * as React from "react"; -import { useState } from "react"; -import { View } from "react-native"; import { Icon } from "react-native-elements"; import Playground from "../../components/playground"; diff --git a/src/content/Input/input.playground.jsx b/src/content/Input/input.playground.jsx index d9bec86..a7c374a 100644 --- a/src/content/Input/input.playground.jsx +++ b/src/content/Input/input.playground.jsx @@ -1,6 +1,4 @@ import * as React from "react"; -import { useState } from "react"; -import { View } from "react-native"; import { Input } from "react-native-elements"; import Icon from "react-native-vector-icons/dist/MaterialCommunityIcons"; import Playground from "../../components/playground"; From da7d1450e87c6aa0de078db6afea1951a4527df8 Mon Sep 17 00:00:00 2001 From: Uyadav207 Date: Sat, 27 Mar 2021 15:10:07 +0530 Subject: [PATCH 3/4] fix-build failing --- package.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index f0dfa52..13e912d 100644 --- a/package.json +++ b/package.json @@ -4,13 +4,14 @@ "private": true, "homepage": "https://react-native-elements.js.org", "dependencies": { + "@babel/core": "^7.13.13", "@material-ui/core": "^4.11.0", "@material-ui/icons": "^4.9.1", "@material-ui/styles": "^4.10.0", "@react-native-community/toolbar-android": "^0.1.0-rc.2", "history": "^5.0.0", "mdx.macro": "^0.2.9", - "modal-react-native-web": "^0.2.0", + "modal-react-native-web": "^0.1.2", "react": "^16.13.0", "react-dom": "^16.13.0", "react-helmet": "^6.1.0", @@ -18,11 +19,12 @@ "react-native-elements": "latest", "react-native-safe-area-context": "^3.2.0", "react-native-vector-icons": "^6.7.0", - "react-native-web": "^0.12.0", + "react-native-web": "^0.15.1", "react-native-web-linear-gradient": "^1.1.1", "react-router-dom": "^5.2.0", - "react-scripts": "3.4.1", - "react-view": "^2.3.7" + "react-scripts": "^4.0.3", + "react-view": "^1.0.0", + "v8": "^0.1.0" }, "scripts": { "start": "react-app-rewired start", From 303332e4235d109c13e3a27556576c1c3d9240e2 Mon Sep 17 00:00:00 2001 From: Uyadav207 Date: Sat, 27 Mar 2021 16:09:25 +0530 Subject: [PATCH 4/4] reinstalled dependency resolves bugs --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 13e912d..4e4d6cd 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "react-lottie": "^1.2.3", "react-native-elements": "latest", "react-native-safe-area-context": "^3.2.0", - "react-native-vector-icons": "^6.7.0", + "react-native-vector-icons": "^8.1.0", "react-native-web": "^0.15.1", "react-native-web-linear-gradient": "^1.1.1", "react-router-dom": "^5.2.0",