Skip to content

Commit

Permalink
fixed garden provider
Browse files Browse the repository at this point in the history
  • Loading branch information
Oba-One committed Jan 6, 2025
1 parent b29ca50 commit 303771e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/providers/GardenProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const GardenProvider = ({ children }: { children: React.ReactNode }) => {
const { data: gardens } = useQuery<Garden[]>({
queryKey: ["gardens"],
queryFn: async () => {
const gardens = getGardens();
const gardens = await getGardens();
const assessments = await getGardenAssessments();

return gardens.map((garden) => {
Expand Down

1 comment on commit 303771e

@vercel
Copy link

@vercel vercel bot commented on 303771e Jan 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.