From f1914e743b004b35b30379618f7896ac036a043e Mon Sep 17 00:00:00 2001 From: Akshay Thakur Date: Mon, 2 Oct 2023 17:17:00 -0700 Subject: [PATCH] prettier --- package-lock.json | 56 +++++++++++++++++++------------------ src/screens/ToastScreen.tsx | 7 +---- 2 files changed, 30 insertions(+), 33 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1d26ed0b..0c22c0b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,9 +19,9 @@ "expo-status-bar": "~1.6.0", "react": "18.2.0", "react-native": "0.72.4", + "react-native-ionicons": "^4.6.5", "react-native-root-siblings": "^4.1.1", "react-native-root-toast": "^3.5.1", - "react-native-ionicons": "^4.6.5", "react-native-safe-area-context": "4.6.3", "react-native-screens": "~3.22.0", "react-native-vector-icons": "^10.0.0" @@ -14687,32 +14687,6 @@ "react": "18.2.0" } }, - "node_modules/react-native-root-siblings": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/react-native-root-siblings/-/react-native-root-siblings-4.1.1.tgz", - "integrity": "sha512-sdmLElNs5PDWqmZmj4/aNH4anyxreaPm61c4ZkRiR8SO/GzLg6KjAbb0e17RmMdnBdD0AIQbS38h/l55YKN4ZA==" - }, - "node_modules/react-native-root-toast": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/react-native-root-toast/-/react-native-root-toast-3.5.1.tgz", - "integrity": "sha512-zqsuec7Ugx2/9hR9BHqcmb3WWC/WBouqn2RYIpeTG+OpVvVfvr2UhWK4kLPJLk5/icZWl3xJrqiktPpbRpEA2A==", - "dependencies": { - "deprecated-react-native-prop-types": "^2.3.0", - "prop-types": "^15.5.10", - "react-native-root-siblings": "^4.0.0" - }, - "peerDependencies": { - "react-native": ">=0.47.0" - } - }, - "node_modules/react-native-root-toast/node_modules/deprecated-react-native-prop-types": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/deprecated-react-native-prop-types/-/deprecated-react-native-prop-types-2.3.0.tgz", - "integrity": "sha512-pWD0voFtNYxrVqvBMYf5gq3NA2GCpfodS1yNynTPc93AYA/KEMGeWDqqeUB6R2Z9ZofVhks2aeJXiuQqKNpesA==", - "dependencies": { - "@react-native/normalize-color": "*", - "invariant": "*", - "prop-types": "*" "node_modules/react-native-gesture-handler": { "version": "2.13.1", "resolved": "https://registry.npmjs.org/react-native-gesture-handler/-/react-native-gesture-handler-2.13.1.tgz", @@ -14766,6 +14740,34 @@ "color-string": "^1.6.0" } }, + "node_modules/react-native-root-siblings": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/react-native-root-siblings/-/react-native-root-siblings-4.1.1.tgz", + "integrity": "sha512-sdmLElNs5PDWqmZmj4/aNH4anyxreaPm61c4ZkRiR8SO/GzLg6KjAbb0e17RmMdnBdD0AIQbS38h/l55YKN4ZA==" + }, + "node_modules/react-native-root-toast": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/react-native-root-toast/-/react-native-root-toast-3.5.1.tgz", + "integrity": "sha512-zqsuec7Ugx2/9hR9BHqcmb3WWC/WBouqn2RYIpeTG+OpVvVfvr2UhWK4kLPJLk5/icZWl3xJrqiktPpbRpEA2A==", + "dependencies": { + "deprecated-react-native-prop-types": "^2.3.0", + "prop-types": "^15.5.10", + "react-native-root-siblings": "^4.0.0" + }, + "peerDependencies": { + "react-native": ">=0.47.0" + } + }, + "node_modules/react-native-root-toast/node_modules/deprecated-react-native-prop-types": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/deprecated-react-native-prop-types/-/deprecated-react-native-prop-types-2.3.0.tgz", + "integrity": "sha512-pWD0voFtNYxrVqvBMYf5gq3NA2GCpfodS1yNynTPc93AYA/KEMGeWDqqeUB6R2Z9ZofVhks2aeJXiuQqKNpesA==", + "dependencies": { + "@react-native/normalize-color": "*", + "invariant": "*", + "prop-types": "*" + } + }, "node_modules/react-native-safe-area-context": { "version": "4.6.3", "resolved": "https://registry.npmjs.org/react-native-safe-area-context/-/react-native-safe-area-context-4.6.3.tgz", diff --git a/src/screens/ToastScreen.tsx b/src/screens/ToastScreen.tsx index 868331e0..4d0f4775 100644 --- a/src/screens/ToastScreen.tsx +++ b/src/screens/ToastScreen.tsx @@ -1,6 +1,5 @@ import React from 'react'; import { Button, Text, View } from 'react-native'; -// import { Colors } from 'react-native/Libraries/NewAppScreen'; import { RootSiblingParent } from 'react-native-root-siblings'; import Toast from 'react-native-root-toast'; @@ -24,11 +23,7 @@ export default function ToastScreen() { Toast Page -