link-stack/apps/leafcutter/app/trends/page.tsx

9 lines
240 B
TypeScript
Raw Normal View History

2023-06-26 10:07:12 +00:00
import { getTrends } from "@/app/_lib/opensearch";
2023-06-28 09:09:45 +00:00
import { Trends } from "./_components/Trends";
2023-02-13 13:46:56 +00:00
2023-06-28 09:09:45 +00:00
export default async function Page() {
2023-05-25 12:37:14 +00:00
const visualizations = await getTrends(25);
2023-02-13 13:46:56 +00:00
2023-06-28 09:09:45 +00:00
return <Trends visualizations={visualizations} />;
}