Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kattylucy committed Nov 27, 2024
1 parent 3410beb commit 36cd71c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion centrifuge-app/src/pages/IssuerCreatePool/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const createEmptyTranche = (trancheName: string): Tranche => ({
tokenName: trancheName,
symbolName: '',
interestRate: 0,
minRiskBuffer: trancheName === 'Junio' ? '' : 0,
minRiskBuffer: trancheName === 'Junior' ? '' : 0,
minInvestment: 1000,
apy: '90d',
})
Expand Down
8 changes: 6 additions & 2 deletions centrifuge-js/src/modules/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -679,13 +679,13 @@ export interface PoolMetadataInput {
maxReserve: number | ''
issuerName: string
issuerRepName: string
issuerLogo: FileType | null
issuerLogo: FileType
issuerShortDescription: string
issuerDescription: string
website: string
forum: string
email: string
executiveSummary?: FileType | null
executiveSummary: FileType | null
details?: IssuerDetail[]
issuerCategories: { type: string; value: string; description?: string }[]
poolRatings: {
Expand Down Expand Up @@ -714,6 +714,10 @@ export interface PoolMetadataInput {
tranches: { [trancheId: string]: { agreement: FileType | undefined; openForOnboarding: boolean } }
taxInfoRequired?: boolean
}

listed?: boolean
epochHours: number | ''
epochMinutes: number | ''
}

export type WithdrawAddress = {
Expand Down

0 comments on commit 36cd71c

Please sign in to comment.