Skip to content

Commit

Permalink
fix: update verb page contents on declName change (#2808)
Browse files Browse the repository at this point in the history
Fixes: #2647
  • Loading branch information
deniseli authored Sep 24, 2024
1 parent 20a114b commit a1df570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/console/src/features/verbs/VerbPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const VerbPage = ({ moduleName, declName }: { moduleName: string; declNam
setModule(module)
const verb = module?.verbs.find((verb) => verb.verb?.name.toLocaleLowerCase() === declName?.toLocaleLowerCase())
setVerb(verb)
}, [modules.data, moduleName])
}, [modules.data, moduleName, declName])

const callEvents = useStreamVerbCalls(module?.name, verb?.verb?.name)
const calls = callEvents.data || []
Expand Down

0 comments on commit a1df570

Please sign in to comment.