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}