Skip to content

Commit

Permalink
Rename field
Browse files Browse the repository at this point in the history
  • Loading branch information
lmuntaner committed Dec 20, 2024
1 parent 1cdb051 commit 1494b4b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/frontend/src/flows/addDevice/addCurrentDevice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import { TemplateResult } from "lit-html";
import copyJson from "./addCurrentDevice.json";

const addCurrentDeviceTemplate = ({
replace,
add,
skip,
i18n,
}: {
replace: () => void;
add: () => void;
skip: () => void;
i18n: I18n;
}): TemplateResult => {
Expand All @@ -18,13 +18,13 @@ const addCurrentDeviceTemplate = ({
return infoScreenTemplate({
cancel: skip,
cancelText: copy.skip,
next: replace,
next: add,
nextText: copy.replace_origin,
title: copy.title,
paragraph: copy.paragraph,
scrollToTop: true,
icon: "info",
pageId: "replace-current-device-origin",
pageId: "add-current-device",
label: copy.label_icon,
});
};
Expand All @@ -39,7 +39,7 @@ export const addCurrentDevice = (): Promise<{
return new Promise((resolve) =>
addCurrentDevicePage({
i18n: new I18n(),
replace: () => resolve({ action: "add-current-device" }),
add: () => resolve({ action: "add-current-device" }),
skip: () => resolve({ action: "skip" }),
})
);
Expand Down

0 comments on commit 1494b4b

Please sign in to comment.