From a1df570378a1eb76b2b8449dd018c86c074edfae Mon Sep 17 00:00:00 2001 From: Denise Li Date: Tue, 24 Sep 2024 18:53:23 -0400 Subject: [PATCH] fix: update verb page contents on declName change (#2808) Fixes: https://github.com/TBD54566975/ftl/issues/2647 --- frontend/console/src/features/verbs/VerbPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/console/src/features/verbs/VerbPage.tsx b/frontend/console/src/features/verbs/VerbPage.tsx index da8f4d4146..c5f16c8686 100644 --- a/frontend/console/src/features/verbs/VerbPage.tsx +++ b/frontend/console/src/features/verbs/VerbPage.tsx @@ -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 || []