Skip to content

Commit

Permalink
Adding toast messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
Swapnil-Dhamal committed Feb 24, 2025
1 parent dd7e1cb commit e43a88e
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
30 changes: 30 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"react-router-hash-link": "^2.4.3",
"react-scroll-to-top": "^3.0.0",
"react-simple-scroll-up": "^0.2.3",
"react-toastify": "^11.0.3",
"rentalog": "file:",
"tailwind-merge": "^2.5.4",
"tailwindcss-animate": "^1.0.7",
Expand Down
6 changes: 5 additions & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
import React, { useEffect, useState } from 'react';
import "./App.css";
import { Route, Routes } from "react-router-dom";

import { ToastContainer } from "react-toastify";
import "react-toastify/dist/ReactToastify.css";
// Pages and Components
import { Home, Login, Registration, Dashboard, ComingSoon } from "./pages";
import ForgotPassword from "./pages/ForgotPassword";
Expand Down Expand Up @@ -65,6 +66,9 @@ const App = () => {

return (
<>

<ToastContainer position="top-right" autoClose={3000} />

{/* Custom Main Cursor */}
<div
className={`custom-cursor ${!isCursorVisible ? "hidden" : ""}`}
Expand Down

0 comments on commit e43a88e

Please sign in to comment.