Skip to content

Commit ce6d873

Browse files
committed
Fix Page crash on Module selection (#4834)
## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on enhancing the handling of `selectedModule` in the `ModuleForm.tsx` component by including additional properties for better data management. ### Detailed summary - Added `selectedModule?.contractId` to the data array. - Added `selectedModule?.bytecodeHash` to the data array. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent bbe75b0 commit ce6d873

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/dashboard/src/contract-ui/tabs/manage/components/ModuleForm.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,8 @@ export const InstallModuleForm = (props: InstallModuleFormProps) => {
203203
contract.chain.id,
204204
installedModuleBytecodesQuery.data,
205205
coreContractByteCodeQuery.data,
206-
selectedModule,
206+
selectedModule?.contractId,
207+
selectedModule?.bytecodeHash,
207208
],
208209
queryFn: async () => {
209210
if (

0 commit comments

Comments
 (0)