[Dashboard] Fix url params for fn overload (#4324)
## Problem solved
Short description of the bug fixed or feature added
<!-- start pr-codex -->
---
## PR-Codex overview
This PR exposes `toFunctionSelector` and updates its usage in the dashboard component for better navigation.
### Detailed summary
- Exposed `toFunctionSelector` in `thirdweb/utils.ts`
- Updated `ContractFunctionsPanel` to use `toFunctionSelector` for navigation based on function selector
- Improved function selection logic in `FunctionsOrEventsListItem` to use `toFunctionSelector`
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
This commit is contained in:
@@ -181,3 +181,5 @@ export { parseAbiParams } from "../utils/contract/parse-abi-params.js";
|
||||
// bigint
|
||||
// ------------------------------------------------
|
||||
export { max, min } from "../utils/bigint.js";
|
||||
|
||||
export { toFunctionSelector } from "viem";
|
||||
|
||||
Reference in New Issue
Block a user