From d89a35875bd8cc577871331477e0831dc6a5f1e4 Mon Sep 17 00:00:00 2001 From: Wes Date: Fri, 6 Oct 2023 12:57:06 -0700 Subject: [PATCH] fix: call list reloading and button actions --- .../src/features/deployments/DeploymentPage.tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/console/client/src/features/deployments/DeploymentPage.tsx b/console/client/src/features/deployments/DeploymentPage.tsx index 16191407ce..807e174831 100644 --- a/console/client/src/features/deployments/DeploymentPage.tsx +++ b/console/client/src/features/deployments/DeploymentPage.tsx @@ -3,11 +3,11 @@ import React from 'react' import { useNavigate, useParams } from 'react-router-dom' import { ButtonSmall } from '../../components/ButtonSmall' import { Card } from '../../components/Card' +import { Page } from '../../layout' import { Module } from '../../protos/xyz/block/ftl/v1/console/console_pb' import { MetadataCalls, VerbRef } from '../../protos/xyz/block/ftl/v1/schema/schema_pb' import { modulesContext } from '../../providers/modules-provider' import { verbRefString } from '../verbs/verb.utils' -import { Page } from '../../layout' export const DeploymentPage = () => { const navigate = useNavigate() @@ -46,7 +46,7 @@ export const DeploymentPage = () => { }) setCalls(Array.from(verbCalls)) - }, [modules]) + }, [module]) return ( @@ -69,11 +69,14 @@ export const DeploymentPage = () => { ))} -

Calls

-