Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix build issue (#76) #11

Merged
merged 1 commit into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/app/strategy/components/Strategy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,8 @@ const Strategy = () => {
Behind the scenes
</Text>
<Text fontSize={'15px'} marginBottom={'10px'}>
Actions done automatically by the strategy (smart-contract) with an investment of $1000
Actions done automatically by the strategy (smart-contract) with
an investment of $1000
</Text>
<Flex
color="white"
Expand Down
1 change: 0 additions & 1 deletion src/app/template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import * as React from 'react';
import { RpcProviderOptions, constants } from 'starknet';
import { ArgentMobileConnector } from 'starknetkit/argentMobile';
import { InjectedConnector } from 'starknetkit/injected';
import { SpeedInsights } from "@vercel/speed-insights/next"
import Navbar from '@/components/Navbar';
import { Toaster } from 'react-hot-toast';

Expand Down
7 changes: 2 additions & 5 deletions src/components/Strategies.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,8 @@ export default function Strategies() {
marginBottom={'5px'}
fontWeight={'bold'}
alignItems={'center'}
>
<Heading
size={{ base: 'sm', md: 'md' }}
fontWeight={'bold'}
>
>
<Heading size={{ base: 'sm', md: 'md' }} fontWeight={'bold'}>
{strat.name}
</Heading>
{strat.liveStatus != StrategyLiveStatus.ACTIVE && (
Expand Down
4 changes: 3 additions & 1 deletion src/store/strategies.atoms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ export const strategiesAtom = atom<StrategyInfo[]>((get) => {
const strategies = getStrategies();
const allPools = get(allPoolsAtomUnSorted);
const filteredPools = allPools.filter(
(p) => p.protocol.name === 'zkLend' || p.protocol.name === 'Nostra Money Markets',
(p) =>
p.protocol.name === 'zkLend' ||
p.protocol.name === 'Nostra Money Markets',
);

for (const s of strategies) {
Expand Down