Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Majorfi committed Nov 30, 2023
1 parent 7c97b3d commit a1768df
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
- Fix: For portals, uses `OutputValue` instead of `MinOutputValue` for display.
- Fix: The price system was mixed-chain, not multi-chain
- Fix: Avoid decimal notations in the OP boost page.
- Fix: Hide non-supported tokens in the zap dropdown.

# 0.1.25 (28/08/2023)

Expand Down
2 changes: 1 addition & 1 deletion apps/common/schemas/yDaemonVaultsSchemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const yDaemonVaultSchema = z.object({
.catch('Standard'),
kind: z
.literal('Legacy')
.or(z.literal('Multi Strategies'))
.or(z.literal('Multi Strategy'))
.or(z.literal('Single Strategy'))
.default('Legacy')
.catch('Legacy'),
Expand Down
2 changes: 1 addition & 1 deletion apps/vaults-v3/constants/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const ALL_VAULTSV3_CATEGORIES = {
multi: 'Multi Strategies',
multi: 'Multi Strategy',
single: 'Single Strategy'
};
export const ALL_VAULTSV3_CATEGORIES_KEYS = Object.keys(ALL_VAULTSV3_CATEGORIES);
2 changes: 1 addition & 1 deletion apps/vaults/hooks/useFilteredVaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function useVaultFilter(
);
const MultiVault = useFilteredVaults(
vaults,
({version, kind}): boolean => (version || '')?.split('.')?.[0] === '3' && kind === 'Multi Strategies'
({version, kind}): boolean => (version || '')?.split('.')?.[0] === '3' && kind === 'Multi Strategy'
);

//V2 Filtered Vaults
Expand Down
2 changes: 1 addition & 1 deletion pages/v3/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ function ListOfVaults(): ReactElement {
const single: ReactNode[] = [];
const all: ReactNode[] = [];
for (const vault of filteredByChains) {
if (vault.kind === 'Multi Strategies') {
if (vault.kind === 'Multi Strategy') {
multi.push(
<VaultsV3ListRow
key={`${vault.chainID}_${vault.address}`}
Expand Down

1 comment on commit a1768df

@vercel
Copy link

@vercel vercel bot commented on a1768df Nov 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.