Modify route name
This commit is contained in:
parent
6b0a730a2d
commit
39bfed8517
@ -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=
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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>();
|
||||
|
||||
@ -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 = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user