Skip to content

Commit

Permalink
fix: eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
wxy1203 committed Oct 23, 2024
1 parent 8e1570e commit 0a423e1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions multi-git-dashboard/src/components/cards/OverviewCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export interface OverviewProps {
teamDatas: TeamData[];
dateUtils: DateUtils;
profileGetter: ProfileGetter;
user: User;
}

export const OverviewCard: React.FC<OverviewProps> = ({
Expand All @@ -25,7 +24,6 @@ export const OverviewCard: React.FC<OverviewProps> = ({
teamDatas,
dateUtils,
profileGetter,
user,
}) => {
const { getCurrentWeek } = dateUtils;
const totalWeeks = getCurrentWeek();
Expand Down Expand Up @@ -79,7 +77,6 @@ export const OverviewCard: React.FC<OverviewProps> = ({
teamDatas={teamDatas}
selectedWeekRange={selectedWeekRange}
dateUtils={dateUtils}
user={user}
/>
</TutorialPopover>
<TutorialPopover stage={9} position="top" disabled={index !== 0}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@ export interface AnalyticsProps {
teamDatas: TeamData[];
selectedWeekRange: [number, number];
dateUtils: DateUtils;
user: User;
}

// TODO: Migrate Recharts -> Mantine Charts
const Analytics = forwardRef<HTMLDivElement, AnalyticsProps>(
({ team, teamData, teamDatas, selectedWeekRange, dateUtils, user }, ref) => {
({ team, teamData, teamDatas, selectedWeekRange, dateUtils }, ref) => {
const [embla, setEmbla] = useState<Embla | null>(null);

const charts = {
Expand All @@ -43,7 +42,6 @@ const Analytics = forwardRef<HTMLDivElement, AnalyticsProps>(
teamDatas={teamDatas}
selectedWeekRange={selectedWeekRange}
dateUtils={dateUtils}
user={user}
/>
</Stack>
</Carousel.Slide>
Expand Down

0 comments on commit 0a423e1

Please sign in to comment.