From 8879f1d8f5906b108a95bd0e67a7902889dadb31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3za=20Nagy?= Date: Thu, 11 Jan 2024 21:02:09 +0700 Subject: [PATCH] fix: missing attribute --- .../components/vault/components/vault-progress-bar.tsx | 2 +- src/app/components/vault/vault-card.tsx | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/app/components/vault/components/vault-progress-bar.tsx b/src/app/components/vault/components/vault-progress-bar.tsx index 7b8b11d7..069aea55 100644 --- a/src/app/components/vault/components/vault-progress-bar.tsx +++ b/src/app/components/vault/components/vault-progress-bar.tsx @@ -1,7 +1,7 @@ import { Box, Progress, Text, VStack } from '@chakra-ui/react'; import { VaultState } from '@models/vault'; -enum ActionType { +export enum ActionType { CONFIRM = 'CONFIRM', VERIFY = 'VERIFY', } diff --git a/src/app/components/vault/vault-card.tsx b/src/app/components/vault/vault-card.tsx index 97b9e196..5a87c372 100644 --- a/src/app/components/vault/vault-card.tsx +++ b/src/app/components/vault/vault-card.tsx @@ -7,7 +7,7 @@ import { Vault, VaultState } from '@models/vault'; import { VaultCardLayout } from './components/vault-card.layout'; import { VaultExpandedInformation } from './components/vault-expanded-information/vault-expanded-information'; import { VaultInformation } from './components/vault-information'; -import { VaultProgressBar } from './components/vault-progress-bar'; +import { ActionType, VaultProgressBar } from './components/vault-progress-bar'; interface VaultCardProps { vault?: Vault; @@ -54,7 +54,11 @@ export function VaultCard({ /> )} {[VaultState.FUNDING, VaultState.CLOSED].includes(vault.state) && ( - + )} );