From 2153c55c7527a8bcdafe488ec9cdbba7de70bab8 Mon Sep 17 00:00:00 2001 From: Sanskar Date: Fri, 19 Jul 2024 16:53:16 +0545 Subject: [PATCH] Fixed imports --- nepalingo-web/src/components/header/UserProfile.tsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/nepalingo-web/src/components/header/UserProfile.tsx b/nepalingo-web/src/components/header/UserProfile.tsx index 4cbca0d..b2db7a0 100644 --- a/nepalingo-web/src/components/header/UserProfile.tsx +++ b/nepalingo-web/src/components/header/UserProfile.tsx @@ -1,10 +1,9 @@ -import React, { useState, useContext, useRef } from "react"; +import React, { useState, useContext, useRef, useEffect } from "react"; import UserAvatar from "@/components/UserAvatar"; import { StreakContext } from "@/hooks/StreakContext"; import { getPhrase } from "@/components/header/StreakPhrase"; import { useAuth } from "@/hooks/Auth"; -import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; -import { faFire } from "@fortawesome/free-solid-svg-icons"; +import fire from "@/assets/fire.svg" const UserProfile: React.FC = () => { const [isOpen, setIsOpen] = useState(false); @@ -65,8 +64,8 @@ const UserProfile: React.FC = () => {
- - {longestStreak} + + {currentStreak}
Current @@ -75,7 +74,7 @@ const UserProfile: React.FC = () => {
- + {longestStreak}