Skip to content

Commit

Permalink
lint-2
Browse files Browse the repository at this point in the history
  • Loading branch information
NancyAanchal committed Jul 20, 2024
1 parent ec954d3 commit 6daab7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions nepalingo-web/src/components/DictionarySearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import useDictionary, { DictionaryProps } from "../hooks/useDictionary";
import InputText from "./InputText";

interface DictionarySearchBarProps {
language: DictionaryProps["language"]; // Define language as a prop
language: DictionaryProps["language"];
}

const DictionarySearchBar: React.FC<DictionarySearchBarProps> = ({
Expand All @@ -19,11 +19,6 @@ const DictionarySearchBar: React.FC<DictionarySearchBarProps> = ({
setSearchTerm(e.target.value);
};

const handleSearchClick = () => {
// Trigger re-fetch (not necessary for useSWR as it auto-updates)
};



return (
<div className="flex flex-col items-center mt-5">
Expand Down
2 changes: 1 addition & 1 deletion nepalingo-web/src/pages/Home.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import logo from "@/assets/logo.png";
import logo from "@/assets/NewLogoCircular.png";
import ReactGA from "react-ga4";
import { useAuth } from "@/hooks/Auth";
import Header from "@/components/header/Header";
Expand Down

0 comments on commit 6daab7d

Please sign in to comment.