From 39bfed8517b37081f197e2b339593ff1af37f754 Mon Sep 17 00:00:00 2001 From: IshaVenikar Date: Thu, 24 Apr 2025 17:33:08 +0530 Subject: [PATCH] Modify route name --- .env.example | 1 + src/App.tsx | 2 +- src/screens/SignMessageEmbed.tsx | 2 +- src/types.ts | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index e5066ca..d563968 100644 --- a/.env.example +++ b/.env.example @@ -4,4 +4,5 @@ REACT_APP_DEFAULT_GAS_PRICE=0.025 # Reference: https://github.com/cosmos/cosmos-sdk/issues/16020 REACT_APP_GAS_ADJUSTMENT=2 REACT_APP_LACONICD_RPC_URL=https://laconicd-sapo.laconic.com + REACT_APP_DEPLOY_APP_URL= diff --git a/src/App.tsx b/src/App.tsx index 827b397..8066c61 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -392,7 +392,7 @@ const App = (): React.JSX.Element => { }} /> ; +type SignRequestProps = NativeStackScreenProps; const SignMessageEmbed = ({ route }: SignRequestProps) => { const [displayAccount, setDisplayAccount] = useState(); diff --git a/src/types.ts b/src/types.ts index 84ce968..31d4c3f 100644 --- a/src/types.ts +++ b/src/types.ts @@ -40,7 +40,7 @@ export type StackParamsList = { }; "wallet-embed": undefined; "auto-sign-in": undefined; - "sign-message-embed": undefined; + "sign-request-embed": undefined; }; export type Account = {