Skip to content

Commit 5c5423d

Browse files
committed
fix lint
1 parent 9154ab7 commit 5c5423d

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

frontend/public/data/portfolios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export type PortfolioMember = {
1313
export enum PortfolioRole {
1414
DIRECTOR = "Director",
1515
SUBCOM = "Subcommittee",
16-
};
16+
}
1717

1818
export const PORTFOLIOS: PortfolioData[] = [
1919
{

frontend/src/components/About/PortfolioDisplay.tsx

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,12 @@
11
import { useState } from "react";
22
import PortfolioCard from "./PortfolioCard";
3-
import { PortfolioRole, PORTFOLIOS } from "../../../public/data/portfolios";
3+
import { PORTFOLIOS } from "../../../public/data/portfolios";
44

55
const PortfolioDisplay = () => {
66
const [selectedPortfolio, setSelectedPortfolio] = useState("Careers");
77

88
const names = PORTFOLIOS.map(port => port.name);
9-
10-
const portfolioMember = (name: string, role: PortfolioRole) => {
11-
return (
12-
<div>
13-
<p>{name}</p>
14-
<p>{role}</p>
15-
</div>
16-
);
17-
};
18-
9+
1910
return (
2011
<div>
2112
<div className="flex justify-between max-w-full h-10 my-6 snap-x snap-mandatory overflow-scroll hide-scrollbar">

0 commit comments

Comments
 (0)