Closed peetzweg closed 3 months ago
Name | Link |
---|---|
Latest commit | 3cf8d2beda078f77a5ce4e056f929bff074268df |
Latest deploy log | https://app.netlify.com/sites/contracts-ui/deploys/655dd5ee874fea00080f1b65 |
Deploy Preview | https://deploy-preview-529--contracts-ui.netlify.app/ |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
![]() |
![]() |
![]() |
![]() |
![]() |
⚠️ You've recorded test results over your free plan limit. Upgrade your plan to view test results. |
Details:
chore: refactor patron from ` |
|||
Project: Contracts UI | Commit: 8b786444a5 |
||
Status: Passed | Duration: 01:15 💡 | ||
Started: Mar 28, 2024 10:20 AM | Ended: Mar 28, 2024 10:21 AM |
Hoists patron integration (https://github.com/paritytech/contracts-ui/pull/518) a component higher. This makes the integration only work on the
/instatiate
route. Before it was working anywhere a<InputFile />
component was used.Here is a valid link to the current deployment using the patron url search parameter:
https://deploy-preview-529--contracts-ui.netlify.app/instantiate?patron=0efaf17fd9145a2c7d59821aea6036549f4b6f2d0c86440a16d4c1ac9d57a295
Furthermore, making
File=>FileState
logic reusable by putting them into a dedicated file,fileToFileState.ts
.https://github.com/peetzweg/contracts-ui/blob/3cf8d2beda078f77a5ce4e056f929bff074268df/src/lib/fileToFileState.ts#L6-L8
cc @o-tsaruk