cfahlgren1 HF Staff commited on
Commit
4b9d358
·
1 Parent(s): 324cefc
src/pages/[author]/index.tsx CHANGED
@@ -3,7 +3,7 @@ import { GetServerSidePropsContext } from "next";
3
  import { OpenSourceHeatmapProps } from "../../types/heatmap";
4
  import { generateCalendarData } from "../../utils/calendar";
5
  import Heatmap from "../../components/Heatmap";
6
- import { fetchUserData, fetchAuthorData } from "../../utils/authors";
7
 
8
  const DEFAULT_COLOR = "#FF9D00";
9
 
@@ -54,7 +54,7 @@ export async function getServerSideProps(context: GetServerSidePropsContext) {
54
  const authorColor = color || DEFAULT_COLOR;
55
 
56
  try {
57
- const { fullName, avatarUrl } = await fetchUserData([author as string]);
58
 
59
  const providers = {
60
  [author as string]: {
 
3
  import { OpenSourceHeatmapProps } from "../../types/heatmap";
4
  import { generateCalendarData } from "../../utils/calendar";
5
  import Heatmap from "../../components/Heatmap";
6
+ import { fetchOrganizationData, fetchAuthorData } from "../../utils/authors";
7
 
8
  const DEFAULT_COLOR = "#FF9D00";
9
 
 
54
  const authorColor = color || DEFAULT_COLOR;
55
 
56
  try {
57
+ const { fullName, avatarUrl } = await fetchOrganizationData([author as string]);
58
 
59
  const providers = {
60
  [author as string]: {
src/pages/index.tsx CHANGED
@@ -129,7 +129,7 @@ const OpenSourceHeatmap: React.FC<OpenSourceHeatmapProps> = ({
129
  </h1>
130
  <div className="text-center text-sm my-8 space-y-4">
131
  <p className="text-muted-foreground">
132
- Open models, datasets, and apps from the top AI labs.
133
  </p>
134
  </div>
135
 
 
129
  </h1>
130
  <div className="text-center text-sm my-8 space-y-4">
131
  <p className="text-muted-foreground">
132
+ Open models, datasets, and apps from the top AI labs the past year.
133
  </p>
134
  </div>
135