Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a new useResolveDeweb React hook that resolves DeWeb URLs using the massa-web3 library. The hook provides functionality to convert massa.network domain URLs to their resolved counterparts with proper loading states and error handling.
- Adds
useResolveDewebhook with URL resolution capabilities and state management - Creates a
extractMNSUrlutility function to parse massa.network URLs - Refactors the export structure to use a centralized hooks index file
Reviewed Changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/lib/massa-react/index.ts | Consolidated exports to use hooks index file |
| src/lib/massa-react/hooks/useResolveDeweb.ts | New hook implementation with URL resolution logic |
| src/lib/massa-react/hooks/useResolveDeweb.spec.ts | Comprehensive test suite for the extractMNSUrl function |
| src/lib/massa-react/hooks/index.ts | Centralized exports for all hooks |
| .eslintrc.cjs | Disabled indent rule |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 5 out of 6 changed files in this pull request and generated 6 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 5 out of 6 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
No description provided.