Skip to content

Commit

Permalink
resolving bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
MANISHIMWESalton committed Jul 17, 2024
1 parent 49aaf3e commit b1be947
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/router.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable*/
/* eslint-disable */
import React from "react";
import { Navigate, Route, Routes } from "react-router-dom";
import { Navigate, Route, Routes, } from "react-router-dom";
import LandingPage from "./pages/LandingPage";
import { SignUp } from "./pages/SignUp";
import NotFound from "./pages/NotFound";
Expand All @@ -17,6 +17,7 @@ import ViewProduct from "./pages/ViewProduct";
import UserLogin from "./pages/UserLogin";
import SellerLogin from "./pages/SellerLogin";
import AdminLogin from "./pages/AdminLogin";
import Search from "./pages/Search";

const AppRouter: React.FC = () => {
return (
Expand Down
10 changes: 9 additions & 1 deletion src/utils/types/store.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,12 @@ export interface INotificationInitialResource {
message: string | null,
passwordExpiryMessage: string | null,
isLoggedOut: boolean
}
}

export interface SearchCriteria {
name?: string;
category?: string;
minPrice?: number;
maxPrice?: number;
discount?: number;
}

0 comments on commit b1be947

Please sign in to comment.