From d069c4cc9fdda998b7b8b78361a38124d94d6a20 Mon Sep 17 00:00:00 2001 From: Darun Seethammagari Date: Thu, 18 Apr 2024 18:08:37 -0700 Subject: [PATCH] Add some todos --- frontend/src/components/Logs/Status.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/Logs/Status.jsx b/frontend/src/components/Logs/Status.jsx index eacc8a081..85c576852 100644 --- a/frontend/src/components/Logs/Status.jsx +++ b/frontend/src/components/Logs/Status.jsx @@ -9,8 +9,8 @@ import { import { useQuery, gql } from "@apollo/client"; const Status = ({ accountId, functionName, latestHeight }) => { - const hasuraRole = accountId.replace(/[^a-zA-Z0-9]/g, '_'); - const queryName = `${functionName.replace(/[^a-zA-Z0-9]/g, '_')}___metadata`; + const hasuraRole = accountId.replace(/[^a-zA-Z0-9]/g, '_'); // TODO: Support accounts that start with a number + const queryName = `${functionName.replace(/[^a-zA-Z0-9]/g, '_')}___metadata`; // TODO: Rename the query to match new metadata table name const GET_METADATA = gql` query getMetadata { ${queryName} {