From ff6a644ccd9ae09b3c7bed360d62af0aad19c762 Mon Sep 17 00:00:00 2001 From: Tuan Pham Minh Date: Mon, 17 Jul 2023 22:16:43 +0700 Subject: [PATCH] fix buffer --- package.json | 1 + src/components/SignMessageButton.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/package.json b/package.json index 8ff0f03..b535ed8 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "@react-navigation/native-stack": "6.6.1", "@react-navigation/stack": "6.2.1", "@solana/web3.js": "^1.73.0", + "buffer": "^6.0.3", "commander": "^9.4.1", "expo": "~48.0.7", "expo-constants": "~14.2.1", diff --git a/src/components/SignMessageButton.tsx b/src/components/SignMessageButton.tsx index 9a1b63b..b8ef047 100644 --- a/src/components/SignMessageButton.tsx +++ b/src/components/SignMessageButton.tsx @@ -1,6 +1,7 @@ import { Button, Text } from "react-native"; import { useReducer } from "react"; +import { Buffer } from "buffer"; enum Status { IDLE,