Skip to content

Commit

Permalink
fix conflicting order warnings
Browse files Browse the repository at this point in the history
software issues keep getting dumber every minute facebook/create-react-app#5372 (comment)

Signed-off-by: rishichawda <rishichawda@users.noreply.github.com>
  • Loading branch information
rishichawda committed May 12, 2023
1 parent 9a4d620 commit 56d25f7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/components/articles/search/index.tsx
Expand Up @@ -10,7 +10,6 @@ const Search: React.FC<SearchProps> = ({ searchQuery, setSearchQuery }) => {
return (
<form
id="articles-search-bar"
action="javascript:void(0);"
method="get"
autoComplete="off"
className="border-4 border-gray-200 focus-within:border-gray-300 dark:border-slate-600 dark:focus-within:border-slate-500 w-full sm:w-fit"
Expand All @@ -26,9 +25,6 @@ const Search: React.FC<SearchProps> = ({ searchQuery, setSearchQuery }) => {
name="articles-search-bar"
className="placeholder:text-gray-400 block bg-gray-200 dark:bg-slate-600 dark:placeholder:text-slate-300"
/>
<button className="hide" type="submit">
Search
</button>
</form>
);
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout.tsx
@@ -1,7 +1,7 @@
import React from "react";

import Footer from "./footer";
import Navbar from "./navbar";
import Footer from "./footer";

const Layout: React.FC<LayoutProps> = ({ children, showScrollProgress }) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/components/navbar/index.tsx
Expand Up @@ -5,8 +5,8 @@ import React from "react";

import { useSiteMetadata } from "../../hooks/use-site-metadata";
import Logo from "../logo";
import ThemeToggle from "../themeToggle";
import ScrollProgress from "./scrollProgress";
import ThemeToggle from "../themeToggle";

type NavbarProps = {
showScrollProgress?: boolean;
Expand Down
4 changes: 2 additions & 2 deletions src/pages/articles.tsx
Expand Up @@ -4,11 +4,11 @@ import { m, LazyMotion, domAnimation } from "framer-motion";
import * as React from "react";
import { useFlexSearch } from "react-use-flexsearch";

import ArticlesList from "../components/articles/list";
import Search from "../components/articles/search";
import Layout from "../components/layout";
import SEO from "../components/seo";
import Tag from "../components/tag";
import ArticlesList from "../components/articles/list";
import Search from "../components/articles/search";
import {
filterByTags,
transformFlexSearchData,
Expand Down

0 comments on commit 56d25f7

Please sign in to comment.