Skip to content

Commit

Permalink
hot fix: add typing
Browse files Browse the repository at this point in the history
  • Loading branch information
u4aew committed Jul 11, 2024
1 parent 4e5ff81 commit 976d4ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import React from 'react';
import { getShares } from '@/actions/shares';
import { SharesList } from '@/components/SharesList';
import { FinancialInstrument } from '@/typing';
import { IFinancialInstrument } from '@/typing';

import styles from './page.module.scss';

const Page = async () => {
const { data } = await getShares();
return (
<div className={styles.page}>
<SharesList instruments={data.data as FinancialInstrument[]} />
<SharesList instruments={data.data as IFinancialInstrument[]} />
</div>
);
};
Expand Down

0 comments on commit 976d4ee

Please sign in to comment.