Skip to content

Commit

Permalink
Add some todos
Browse files Browse the repository at this point in the history
  • Loading branch information
darunrs committed Apr 19, 2024
1 parent f0dd4f7 commit d069c4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/Logs/Status.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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} {
Expand Down

0 comments on commit d069c4c

Please sign in to comment.