diff --git a/src/components/Alert.tsx b/src/components/Alert.tsx
index c2f315dc..6d8f5166 100644
--- a/src/components/Alert.tsx
+++ b/src/components/Alert.tsx
@@ -1,14 +1,16 @@
-import { Box, Typography } from '@mui/material'
+import { Box, SxProps, Typography } from '@mui/material'
import React from 'react'
const Alert = ({
variant,
title,
content,
+ sx,
}: {
- variant: 'info' | 'negative'
+ variant: 'info' | 'negative' | 'warning'
title?: string
content: string
+ sx?: SxProps
}) => {
return (
@@ -55,6 +66,17 @@ const Alert = ({
/>
)}
+ {variant === 'warning' && (
+
+ )}
{title && (
diff --git a/src/helpers/useSmartContract.tsx b/src/helpers/useSmartContract.tsx
index 8987e344..8a03a4c8 100644
--- a/src/helpers/useSmartContract.tsx
+++ b/src/helpers/useSmartContract.tsx
@@ -126,9 +126,6 @@ export const SmartContractProvider: React.FC = ({ ch
)
setProvider(ethersProvider)
setManagerReadContract(managerReadOnlyContract)
- // const allCMAccounts = await getCMAccountMappings()
- // let result = allCMAccounts.getAllMappings()
- // console.log(result)
} catch (error) {
console.error('User denied account access:', error)
}
diff --git a/src/redux/services/partners.ts b/src/redux/services/partners.ts
index c188ef67..3a91d3d7 100644
--- a/src/redux/services/partners.ts
+++ b/src/redux/services/partners.ts
@@ -93,7 +93,7 @@ async function getContractMappings(): Promise
+ {state.stepsConfig[1]?.services.length == 0 && (
+
+ )}
+ {state.stepsConfig[2]?.services.length == 0 && (
+
+ )}
+ {bots.length == 0 && (
+
+ )}
- None.
-
+
+
+ None.
+
+
)}
) : (