link-stack/apps/leafcutter/app/(main)/trends/page.tsx

9 lines
238 B
TypeScript
Raw Normal View History

2023-07-11 13:48:05 +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} />;
}