Skip to content

Commit

Permalink
Merge pull request #11 from strkfarm/dev
Browse files Browse the repository at this point in the history
fix build issue (#76)
  • Loading branch information
akiraonstarknet authored Jul 19, 2024
2 parents 015f275 + 12f9a3b commit 936135a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
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

0 comments on commit 936135a

Please sign in to comment.