diff --git a/package.json b/package.json index f77b8c1..7e1078c 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,6 @@ "pod-install": "bundle exec pod install --project-directory=ios" }, "dependencies": { - "@gorhom/portal": "^1.0.14", "@tabler/icons-react-native": "^3.36.0" }, "devDependencies": { diff --git a/src/components/Dialog/__tests__/Dialog.test.tsx b/src/components/Dialog/__tests__/Dialog.test.tsx index 0cb3b77..02587a4 100644 --- a/src/components/Dialog/__tests__/Dialog.test.tsx +++ b/src/components/Dialog/__tests__/Dialog.test.tsx @@ -1,4 +1,3 @@ -import { PortalProvider } from '@gorhom/portal' import { render } from '@testing-library/react-native' import { Text } from 'react-native' @@ -24,11 +23,7 @@ describe('Dialog component tests', () => { ] test.each(snapshotCases)('%s', (_, props) => { - const renderedDialog = render( - - - - ) + const renderedDialog = render() expect(renderedDialog.toJSON()).toMatchSnapshot() }) diff --git a/yarn.lock b/yarn.lock index 25d4452..5b49e04 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2766,7 +2766,6 @@ __metadata: "@eslint/compat": "npm:2.0.0" "@expo/metro-runtime": "npm:6.1.2" "@gorhom/bottom-sheet": "npm:5.2.8" - "@gorhom/portal": "npm:^1.0.14" "@react-native-async-storage/async-storage": "npm:2.2.0" "@react-native-community/datetimepicker": "npm:8.5.1" "@react-native-community/slider": "npm:5.1.1"