Skip to content

Commit

Permalink
fix execs page due to api schema change
Browse files Browse the repository at this point in the history
  • Loading branch information
Highfire1 committed Nov 30, 2024
1 parent 26cd5d8 commit 5fef869
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions frontend/src/app/about/ExecProfiles.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import ExecProfile from './ExecProfile';

interface Executive {
student_id: string;
id: string;
roles: string[];
name: string;
profile_picture: string | null;
Expand Down Expand Up @@ -59,8 +59,8 @@ export default async function ExecProfiles() {
<div className=" flex flex-wrap flex-row gap-5 justify-center">
{groupedCurrentExecutives[year].map((exec) => (
<ExecProfile
key={exec.student_id}
ID={exec.student_id}
key={exec.id}
ID={exec.id}
Position={exec.roles}
Name={exec.name}
ImageBuffer={
Expand All @@ -82,8 +82,8 @@ export default async function ExecProfiles() {
<div className="flex flex-wrap flex-row gap-5 justify-center">
{groupedRetiredExecutives[year].map((exec) => (
<ExecProfile
key={exec.student_id}
ID={exec.student_id}
key={exec.id}
ID={exec.id}
Position={exec.roles}
Name={exec.name}
ImageBuffer={
Expand Down

0 comments on commit 5fef869

Please sign in to comment.