From 8a290bb07420190ad1c24982242d4219b8b24013 Mon Sep 17 00:00:00 2001 From: Beppe Catanese Date: Fri, 15 Dec 2023 10:02:32 +0100 Subject: [PATCH] Rename file and path --- react-app/src/App.js | 4 ++-- react-app/src/dashboard/DashboardDrawer.js | 2 +- react-app/src/dashboard/{Payments.js => Transactions.js} | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-) rename react-app/src/dashboard/{Payments.js => Transactions.js} (99%) diff --git a/react-app/src/App.js b/react-app/src/App.js index df17437..60a8b65 100644 --- a/react-app/src/App.js +++ b/react-app/src/App.js @@ -5,7 +5,7 @@ import Home from './home/Home.js'; import Signup from './signup/Signup.js'; import Dashboard from './dashboard/Dashboard.js'; import Products from './dashboard/Products.js'; -import Payments from './dashboard/Payments.js'; +import Transactions from './dashboard/Transactions.js'; import Payouts from './dashboard/Payouts.js'; import Settings from './dashboard/Settings.js'; import Login from './signup/Login.js'; @@ -19,7 +19,7 @@ function App() { } /> } /> } /> - } /> + } /> } /> } /> diff --git a/react-app/src/dashboard/DashboardDrawer.js b/react-app/src/dashboard/DashboardDrawer.js index 192c4fe..439d4c5 100644 --- a/react-app/src/dashboard/DashboardDrawer.js +++ b/react-app/src/dashboard/DashboardDrawer.js @@ -65,7 +65,7 @@ export default function DashboardDrawer() { - + diff --git a/react-app/src/dashboard/Payments.js b/react-app/src/dashboard/Transactions.js similarity index 99% rename from react-app/src/dashboard/Payments.js rename to react-app/src/dashboard/Transactions.js index 3046d44..2795016 100644 --- a/react-app/src/dashboard/Payments.js +++ b/react-app/src/dashboard/Transactions.js @@ -1,11 +1,8 @@ import React, { useState, useEffect } from 'react'; import axios from "axios"; - - import Box from '@mui/material/Box'; import Chip from '@mui/material/Chip'; - import Toolbar from '@mui/material/Toolbar'; import Divider from '@mui/material/Divider'; import { useNavigate } from 'react-router-dom';