Skip to content

Commit

Permalink
fix: broken type on hero
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranahmedse committed Sep 2, 2023
1 parent 1b74e86 commit 1eb0e88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/HeroSection/FavoriteRoadmaps.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useEffect, useState } from 'react';
import { EmptyProgress } from './EmptyProgress';
import { httpGet } from '../../lib/http';
import { HeroRoadmaps } from './HeroRoadmaps.tsx';
import { HeroRoadmaps } from './HeroRoadmaps';
import {isLoggedIn} from "../../lib/jwt";

export type UserProgressResponse = {
Expand Down Expand Up @@ -122,7 +122,7 @@ export function FavoriteRoadmaps() {
<div className="container min-h-full">
{!isLoading && progress.length == 0 && <EmptyProgress />}
{progress.length > 0 && (
<HeroRoadmaps progress={progress} isLoading={isLoading} />
<HeroRoadmaps customRoadmaps={[]} progress={progress} isLoading={isLoading} />
)}
</div>
</div>
Expand Down

0 comments on commit 1eb0e88

Please sign in to comment.