Skip to content

Commit

Permalink
fix: payment type
Browse files Browse the repository at this point in the history
  • Loading branch information
anishshobithps committed May 4, 2024
1 parent 40242bb commit c6a9ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/admin/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async function getData() {
}

export default function AdminPage() {
const [data, setData] = React.useState<(User & { payment: Payment })[]>([]);
const [data, setData] = React.useState<(User & { payment: Payment[] })[]>([]);

React.useEffect(() => {
getData().then(setData);
Expand Down

0 comments on commit c6a9ed9

Please sign in to comment.