-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Remove mobile token restrictions
- Loading branch information
1 parent
e4b19c6
commit 9ea72ce
Showing
8 changed files
with
38 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/stacks-hierarchy/Root_PurchaseOverviewScreen/components/PurchaseMessage.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import {MessageInfoBox} from '@atb/components/message-info-box'; | ||
import React from 'react'; | ||
import {useOtherDeviceIsInspectableWarning} from '@atb/modules/fare-contracts'; | ||
|
||
export const PurchaseMessage = () => { | ||
const inspectableTokenWarningText = useOtherDeviceIsInspectableWarning(); | ||
|
||
return inspectableTokenWarningText ? ( | ||
<MessageInfoBox | ||
type="warning" | ||
message={inspectableTokenWarningText} | ||
isMarkdown={true} | ||
/> | ||
) : null; | ||
}; |
37 changes: 0 additions & 37 deletions
37
src/stacks-hierarchy/Root_PurchaseOverviewScreen/components/PurchaseMessages.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters