Skip to content

Commit

Permalink
Error fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
spaceman03 committed Jan 16, 2024
1 parent c9b7e82 commit eda4119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/cms/src/admin/views/MerchSales.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Table } from "payload/dist/admin/components/elements/Table";

const MerchSales: AdminView = ({ user, canAccessAdmin }) => {
// Get data from API
const [data, setData] = useState<IOrder[]>();
const [data, setData] = useState<IOrder[]>([]);

const fetchData = async () => {
try {
Expand Down

0 comments on commit eda4119

Please sign in to comment.