- Auction details
+
+ Auction details
+
-
Auction Status
+
+ Auction Status
+
{renderAuctionStatus()}
-
Auction Id
+
+ Auction Id
+
{project.auctionId}
@@ -91,7 +104,9 @@ export const AuctionCard = ({ project }: { project: Project }) => {
{deployerLrns?.length > 0 && (
-
Deployer LRNs
+
+ Deployer LRNs
+
{deployerLrns.map((lrn, index) => (
{'\u2022'} {lrn}
@@ -101,22 +116,28 @@ export const AuctionCard = ({ project }: { project: Project }) => {
)}
-
Deployer Funds Status
+
+ Deployer Funds Status
+
-
+
{fundsStatus ? 'RELEASED' : 'LOCKED'}
-
diff --git a/packages/frontend/src/pages/components/modals.tsx b/packages/frontend/src/pages/components/modals.tsx
index 8e333101..91d5f29b 100644
--- a/packages/frontend/src/pages/components/modals.tsx
+++ b/packages/frontend/src/pages/components/modals.tsx
@@ -39,7 +39,7 @@ const deployment: Deployment = {
deployer: {
deployerApiUrl: 'https://webapp-deployer-api.example.com',
deployerId: 'bafyreicrtgmkir4evvvysxdqxddf2ftdq2wrzuodgvwnxr4rmubi4obdfu',
- deployerLrn:'lrn://example/deployers/webapp-deployer-api.example.com'
+ deployerLrn: 'lrn://example/deployers/webapp-deployer-api.example.com',
},
status: DeploymentStatus.Ready,
createdBy: {
@@ -53,7 +53,8 @@ const deployment: Deployment = {
},
createdAt: '1677676800', // 2023-03-01T12:00:00Z
updatedAt: '1677680400', // 2023-03-01T13:00:00Z
- applicationDeploymentRequestId: 'bafyreiaycvq6imoppnpwdve4smj6t6ql5svt5zl3x6rimu4qwyzgjorize',
+ applicationDeploymentRequestId:
+ 'bafyreiaycvq6imoppnpwdve4smj6t6ql5svt5zl3x6rimu4qwyzgjorize',
};
const domains: Domain[] = [
diff --git a/packages/frontend/src/pages/org-slug/projects/create/success/Id.tsx b/packages/frontend/src/pages/org-slug/projects/create/success/Id.tsx
index bd1d680c..37883c8c 100644
--- a/packages/frontend/src/pages/org-slug/projects/create/success/Id.tsx
+++ b/packages/frontend/src/pages/org-slug/projects/create/success/Id.tsx
@@ -1,4 +1,4 @@
-import { Link, useParams, useSearchParams } from 'react-router-dom';
+import { Link, useParams, useSearchParams } from 'react-router-dom';
import Lottie from 'lottie-react';
import { Badge } from 'components/shared/Badge';
@@ -48,7 +48,9 @@ const Id = () => {
{/* Heading */}
- {isAuction? 'Auction created successfully.' : 'Project deployment created successfully.'}
+ {isAuction
+ ? 'Auction created successfully.'
+ : 'Project deployment created successfully.'}
diff --git a/packages/frontend/src/pages/org-slug/projects/create/template/index.tsx b/packages/frontend/src/pages/org-slug/projects/create/template/index.tsx
index 4024e521..9879c56d 100644
--- a/packages/frontend/src/pages/org-slug/projects/create/template/index.tsx
+++ b/packages/frontend/src/pages/org-slug/projects/create/template/index.tsx
@@ -54,7 +54,7 @@ const CreateRepo = () => {
setIsLoading(true);
navigate(
- `configure?templateId=${template.id}&templateOwner=${owner}&templateRepo=${repo}&owner=${data.account}&name=${data.repoName}&isPrivate=false&orgSlug=${orgSlug}`
+ `configure?templateId=${template.id}&templateOwner=${owner}&templateRepo=${repo}&owner=${data.account}&name=${data.repoName}&isPrivate=false&orgSlug=${orgSlug}`,
);
} catch (err) {
setIsLoading(false);
@@ -173,7 +173,7 @@ const CreateRepo = () => {
(
+ render={({}) => (
)}
/>
diff --git a/packages/frontend/src/pages/org-slug/projects/id/Overview.tsx b/packages/frontend/src/pages/org-slug/projects/id/Overview.tsx
index 66e97359..9346deb0 100644
--- a/packages/frontend/src/pages/org-slug/projects/id/Overview.tsx
+++ b/packages/frontend/src/pages/org-slug/projects/id/Overview.tsx
@@ -135,7 +135,7 @@ const OverviewTabPanel = () => {
{baseDomain}
diff --git a/packages/frontend/src/pages/org-slug/projects/id/settings/EnvironmentVariables.tsx b/packages/frontend/src/pages/org-slug/projects/id/settings/EnvironmentVariables.tsx
index d284a4a6..e76aa364 100644
--- a/packages/frontend/src/pages/org-slug/projects/id/settings/EnvironmentVariables.tsx
+++ b/packages/frontend/src/pages/org-slug/projects/id/settings/EnvironmentVariables.tsx
@@ -64,15 +64,17 @@ export const EnvironmentVariablesTabPanel = () => {
const createEnvironmentVariablesHandler = useCallback(
async (createFormData: FieldValues) => {
- const environmentVariables = createFormData.variables.map((variable: any) => {
- return {
- key: variable.key,
- value: variable.value,
- environments: Object.entries(createFormData.environment)
- .filter(([, value]) => value === true)
- .map(([key]) => key.charAt(0).toUpperCase() + key.slice(1)),
- };
- });
+ const environmentVariables = createFormData.variables.map(
+ (variable: any) => {
+ return {
+ key: variable.key,
+ value: variable.value,
+ environments: Object.entries(createFormData.environment)
+ .filter(([, value]) => value === true)
+ .map(([key]) => key.charAt(0).toUpperCase() + key.slice(1)),
+ };
+ },
+ );
const { addEnvironmentVariables: isEnvironmentVariablesAdded } =
await client.addEnvironmentVariables(id!, environmentVariables);
@@ -124,7 +126,11 @@ export const EnvironmentVariablesTabPanel = () => {
-