From 6d5810c8d9fa13d622f388e5d150481b388817d6 Mon Sep 17 00:00:00 2001 From: Pavel Gribusov Date: Wed, 30 Nov 2022 10:57:00 -0800 Subject: [PATCH] fix: replace clipboard module --- index.tsx | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.tsx b/index.tsx index 6c56ef8..d5be08b 100644 --- a/index.tsx +++ b/index.tsx @@ -2,7 +2,7 @@ import { InputProps, OTPInputViewState } from '@twotalltotems/react-native-otp-input'; import React, { Component } from 'react' import { View, TextInput, TouchableWithoutFeedback, Keyboard, Platform, I18nManager, EmitterSubscription, } from 'react-native' -import Clipboard from '@react-native-community/clipboard'; +import Clipboard from '@react-native-clipboard/clipboard'; import styles from './styles' import { isAutoFillSupported } from './helpers/device' import { codeToArray } from './helpers/codeToArray' diff --git a/package.json b/package.json index 00fb01e..38583dd 100644 --- a/package.json +++ b/package.json @@ -70,6 +70,6 @@ "typescript": "^3.8.3" }, "dependencies": { - "@react-native-community/clipboard": "^1.2.2" + "@react-native-clipboard/clipboard": "^1.11.1" } }