-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #316 from Chia-Network/tokenization-modal-fix
Tokenization modal fix and workflow
- Loading branch information
Showing
21 changed files
with
155 additions
and
79 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export * from './cadt/v1/projects.api'; | ||
export * from './cadt/v1/system.api'; | ||
export * from './cadt/v1/units.api'; | ||
export * from './cadt/v1/organizations.api'; | ||
export * from './tokenization-engine/projects.api'; | ||
export * from './tokenization-engine/system.api'; | ||
export * from './tokenization-engine/units.api'; | ||
export * from './tokenization-engine/organizations.api'; |
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
4 changes: 2 additions & 2 deletions
4
...renderer/api/cadt/v1/organizations.api.ts → .../tokenization-engine/organizations.api.ts
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
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
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
32 changes: 32 additions & 0 deletions
32
src/renderer/components/blocks/modals/TokenizationSuccessModal.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,32 @@ | ||
import { Modal } from '@/components'; | ||
import { FormattedMessage } from 'react-intl'; | ||
import React from 'react'; | ||
|
||
const TokenizationSuccessModal: React.FC<{ onClose: () => void }> = ({ onClose }) => { | ||
return ( | ||
<Modal show={true} onClose={onClose}> | ||
<Modal.Header> | ||
<p className="capitalize"> | ||
<FormattedMessage id="unit-tokenization-success" /> | ||
</p> | ||
</Modal.Header> | ||
<Modal.Body> | ||
<div className="space-y-2.5"> | ||
<p className="sentence-case"> | ||
<FormattedMessage id="the-unit-has-been-successfully-submitted-for-tokenization-and-is-pending-confirmation-on-the-blockchain" /> | ||
. | ||
</p> | ||
<p className="sentence-case"> | ||
<FormattedMessage id="this-process-will-take-a-few-minutes" />. | ||
</p> | ||
<p className="sentence-case"> | ||
<FormattedMessage id="please-check-your-wallet-for-transactions-and-refresh-this-page-when-a-new-transaction-is-confirmed" /> | ||
. | ||
</p> | ||
</div> | ||
</Modal.Body> | ||
</Modal> | ||
); | ||
}; | ||
|
||
export { TokenizationSuccessModal }; |
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
export * from './ConnectModal'; | ||
export * from './CreateTokenModal'; | ||
export * from './TokenizationSuccessModal'; | ||
export * from './NoHomeOrgModal'; |
Oops, something went wrong.