From 1eb0e8869a8dfc2f53c43a3767f4eb113dd24066 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Sat, 2 Sep 2023 18:00:58 +0100 Subject: [PATCH] fix: broken type on hero --- src/components/HeroSection/FavoriteRoadmaps.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/HeroSection/FavoriteRoadmaps.tsx b/src/components/HeroSection/FavoriteRoadmaps.tsx index 454602b4e..2d1181142 100644 --- a/src/components/HeroSection/FavoriteRoadmaps.tsx +++ b/src/components/HeroSection/FavoriteRoadmaps.tsx @@ -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 = { @@ -122,7 +122,7 @@ export function FavoriteRoadmaps() {
{!isLoading && progress.length == 0 && } {progress.length > 0 && ( - + )}