Modify route name

This commit is contained in:
IshaVenikar 2025-04-24 17:33:08 +05:30
parent 6b0a730a2d
commit 39bfed8517
4 changed files with 4 additions and 3 deletions

View File

@ -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=

View File

@ -392,7 +392,7 @@ const App = (): React.JSX.Element => {
}}
/>
<Stack.Screen
name="sign-message-embed"
name="sign-request-embed"
component={SignMessageEmbed}
options={{
// eslint-disable-next-line react/no-unstable-nested-components

View File

@ -16,7 +16,7 @@ import { getCosmosAccounts, retrieveSingleAccount } from '../utils/accounts';
import { getMnemonic, getPathKey, sendMessage } from '../utils/misc';
import { COSMOS } from '../utils/constants';
type SignRequestProps = NativeStackScreenProps<StackParamsList, 'sign-message-embed'>;
type SignRequestProps = NativeStackScreenProps<StackParamsList, 'sign-request-embed'>;
const SignMessageEmbed = ({ route }: SignRequestProps) => {
const [displayAccount, setDisplayAccount] = useState<Account>();

View File

@ -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 = {