Skip to content

Commit

Permalink
Merge pull request #176 from nepalcodes/SansCaar/issue160
Browse files Browse the repository at this point in the history
FIxed import statements
  • Loading branch information
binamkayastha authored Aug 4, 2024
2 parents 63b71e9 + 0c18ffc commit f08931d
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion nepalingo-web/src/components/ActivityCard.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import Button from "./Button";
import Button from "@/components/Button";

interface ActivityCardProps {
backgroundImageUrl: string;
Expand Down
2 changes: 1 addition & 1 deletion nepalingo-web/src/components/header/About.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import Header from "./Header";
import Header from "@/components/header/Header";

const teamMembers = [
{
Expand Down
4 changes: 2 additions & 2 deletions nepalingo-web/src/components/header/ChangeLanguage.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React, { useEffect, useRef, useState } from "react";
import Menu from "./Menu";
import Menu from "@/components/header/Menu";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faChevronDown } from "@fortawesome/free-solid-svg-icons";
import { LanguageKey, Languages, useLanguage } from "../../hooks/Langauge";
import { LanguageKey, Languages, useLanguage } from "@/hooks/Langauge";

const ChangeLanguage: React.FC = () => {
const [isOpen, setIsOpen] = useState(false);
Expand Down
2 changes: 1 addition & 1 deletion nepalingo-web/src/components/header/Menu.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { LanguageKey } from "../../hooks/Langauge";
import { LanguageKey } from "@/hooks/Langauge";

interface MenuProps {
isOpen: boolean;
Expand Down
2 changes: 1 addition & 1 deletion nepalingo-web/src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import ReactDOM from "react-dom/client";
import App from "@/App";
import "./index.css";
import "@/index.css";
import { AuthProvider } from "@/hooks/Auth";
import { StreakProvider } from "@/hooks/StreakContext";
import { LanguageProvider } from "@/hooks/Langauge";
Expand Down
2 changes: 1 addition & 1 deletion nepalingo-web/src/pages/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
faEye,
faEyeSlash,
} from "@fortawesome/free-solid-svg-icons";
import TheBird from "../assets/TheBird.png";
import TheBird from "@/assets/TheBird.png";
import ReactGA from "react-ga4";

const Login: React.FC = () => {
Expand Down
2 changes: 1 addition & 1 deletion nepalingo-web/src/pages/ResetPassword.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useState } from "react";
import { useAuth } from "../hooks/Auth";
import { useAuth } from "@/hooks/Auth";
import { useNavigate } from "react-router-dom";
import CustomTextInput from "@/components/CustomTextInput";
import Button from "@/components/Button";
Expand Down

0 comments on commit f08931d

Please sign in to comment.