deleted transactions page
This commit is contained in:
@@ -2,7 +2,6 @@ import "./css/App.css";
|
||||
import NavigationBar from "./components/NavigationBar/NavigationBar";
|
||||
import { useTheme } from "./contexts/ThemeContext";
|
||||
import { useEffect } from "react";
|
||||
import Transactions from "./pages/Transactions";
|
||||
import Home from "./pages/Home";
|
||||
import {
|
||||
BrowserRouter as Router,
|
||||
@@ -10,7 +9,6 @@ import {
|
||||
Route,
|
||||
Navigate,
|
||||
} from "react-router-dom";
|
||||
// import { Container } from "react-bootstrap";
|
||||
import NotFound from "./pages/NotFound";
|
||||
|
||||
function App() {
|
||||
@@ -26,7 +24,6 @@ function App() {
|
||||
<>
|
||||
<Routes>
|
||||
<Route path="/" element={<Home />} />
|
||||
<Route path="/transactions" element={<Transactions />} />
|
||||
<Route path="/not-found" element={<NotFound />} />
|
||||
<Route path="*" element={<Navigate to="/not-found" replace />} />
|
||||
</Routes>
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
const Transactions = () => {
|
||||
return (
|
||||
<>
|
||||
<h1>Welcome to transactions</h1>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default Transactions;
|
||||
Reference in New Issue
Block a user