Skip to content

Commit 441c051

Browse files
committed
fix(ramp): typo
1 parent 597e5b8 commit 441c051

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/components/UI/Ramp/Views/Settings/ActivationKeyForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ interface ActivationKeyFormParams {
3535
label: string;
3636
}
3737

38-
export const creatActivationKeyFormNavDetails =
38+
export const createActivationKeyFormNavDetails =
3939
createNavigationDetails<ActivationKeyFormParams>(
4040
Routes.RAMP.ACTIVATION_KEY_FORM,
4141
);

app/components/UI/Ramp/Views/Settings/ActivationKeys.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import useActivationKeys from '../../hooks/useActivationKeys';
2626
import { useRampSDK } from '../../sdk';
2727

2828
// Internal dependencies
29-
import { creatActivationKeyFormNavDetails } from './ActivationKeyForm';
29+
import { createActivationKeyFormNavDetails } from './ActivationKeyForm';
3030

3131
import ListItem from '../../../../../component-library/components/List/ListItem';
3232
import ListItemColumn, {
@@ -63,7 +63,7 @@ function ActivationKeys() {
6363

6464
const handleAddNewKeyPress = useCallback(() => {
6565
navigation.navigate(
66-
...creatActivationKeyFormNavDetails({
66+
...createActivationKeyFormNavDetails({
6767
onSubmit: handleAddNewKey,
6868
key: '',
6969
label: '',
@@ -75,7 +75,7 @@ function ActivationKeys() {
7575
const handleEditPress = useCallback(
7676
(key: string, label: string, active: boolean) => {
7777
navigation.navigate(
78-
...creatActivationKeyFormNavDetails({
78+
...createActivationKeyFormNavDetails({
7979
onSubmit: handleUpdateKey,
8080
key,
8181
label,

0 commit comments

Comments
 (0)