Skip to content

Commit

Permalink
feat: disabled bprime (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
janrtvld authored Oct 9, 2024
1 parent d8d8b1c commit 71c9041
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/easypid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "animo-easypid",
"version": "1.6.2",
"version": "1.6.3",
"main": "index.ts",
"private": true,
"scripts": {
Expand Down
16 changes: 11 additions & 5 deletions apps/easypid/src/features/onboarding/screens/welcome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,18 @@ export default function OnboardingWelcome({ goToNextStep }: OnboardingWelcomePro
const [isBlockedByHsm, setIsBlockedByHsm] = useState(false)

const onPressFlow = () => {
const newFlow = selectedFlow === 'c' ? 'bprime' : 'c'
setSelectedFlow(newFlow)
toast.show(`${readableFlow[newFlow]} flow activated!`, {
type: 'info',
message: `You are now using the ${readableFlow[newFlow]} flow.`,
return toast.show("B' flow is currently unavailable", {
type: 'warning',
customData: {
preset: 'warning',
},
})
// const newFlow = selectedFlow === 'c' ? 'bprime' : 'c'
// setSelectedFlow(newFlow)
// toast.show(`${readableFlow[newFlow]} flow activated!`, {
// type: 'info',
// message: `You are now using the ${readableFlow[newFlow]} flow.`,
// })
}

useEffect(() => {
Expand Down

0 comments on commit 71c9041

Please sign in to comment.