Skip to content

Commit

Permalink
Add promptUserNumber to showcase (#849)
Browse files Browse the repository at this point in the history
It was missing.
  • Loading branch information
nmattia authored Aug 30, 2022
1 parent 3a5d217 commit c91c8ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/frontend/src/showcase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import { verifyDevice } from "./flows/addDevice/manage/verifyTentativeDevice";
import { withLoader } from "./components/loader";
import { displaySafariWarning } from "./flows/recovery/displaySafariWarning";
import { displayError } from "./components/displayError";
import { promptUserNumber } from "./flows/promptUserNumber";

// A "dummy" connection which actually is just undefined, hoping pages won't call it
const dummyConnection = undefined as unknown as AuthenticatedConnection;
Expand Down Expand Up @@ -154,6 +155,7 @@ const iiPages: Record<string, () => void> = {
detail: "oh my, so much to say. SO MUCH!",
primaryButton: "Try again",
}),
promptUserNumber: () => promptUserNumber("hello", null),
};

// The showcase
Expand Down

0 comments on commit c91c8ec

Please sign in to comment.