Skip to content

Commit

Permalink
fix: final error
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadshakkeerp committed Jul 24, 2024
1 parent 6be2aaa commit 63833dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Account, Cart, ChatBot, Checkout, Home, NestedHoverNavlink, PaymentSucc
import { ProductProps } from "./types/productTypes";


const App: FC = () => {
const App: FC<ProductProps> = () => {
const [showPopUp, setShowPopUp] = useState(false);
const DarkMode = useSelector((state: { dark: DarkState }) => state?.dark)
// after 4 sec of initial loading
Expand Down
1 change: 0 additions & 1 deletion src/types/productTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ interface ProductProps {
img: string | undefined;
quantity?: number;
price: number;
quantity?:number;
offerAvailable: boolean;
cart?: ProductProps[];
}
Expand Down

0 comments on commit 63833dc

Please sign in to comment.