małe poprawki
This commit is contained in:
parent
b327d3deda
commit
e1ba0c5c24
@ -91,7 +91,7 @@ const EdycjaTransakcji = () => {
|
||||
};
|
||||
|
||||
const handleCancel = () => {
|
||||
navigate('/transkacje');
|
||||
navigate('/transakcje');
|
||||
}
|
||||
|
||||
const handleInputChange = (event) => {
|
||||
|
@ -4,6 +4,7 @@ import editIcon from '../icons/edit.png';
|
||||
import koszIcon from '../icons/kosz.png';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
|
||||
|
||||
const ListaTransakcji = ({ onAdd}) => {
|
||||
const [transactions, setTransactions] = useState([]);
|
||||
const [deleteTransactionId, setDeleteTransactionId] = useState(null);
|
||||
@ -104,7 +105,7 @@ const ListaTransakcji = ({ onAdd}) => {
|
||||
<th className="p-3 text-left">Ilość</th>
|
||||
<th className="p-3 text-left">Kwota</th>
|
||||
<th className="p-3 text-left">Sposób płatności</th>
|
||||
<th className="p-3 text-center">Nr. Pracownika</th>
|
||||
<th className="p-3 text-center">Nr pracownika</th>
|
||||
<th className="p-3 text-center">Akcje</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -1,6 +1,5 @@
|
||||
import React, { useState, useEffect, useRef } from 'react';
|
||||
import { Link, useNavigate } from 'react-router-dom';
|
||||
import lupaIcon from "../icons/lupa.jpg";
|
||||
import profilIcon from "../icons/profil.png";
|
||||
import axios from 'axios';
|
||||
|
||||
@ -62,15 +61,6 @@ const Navbar = ({ setToken }) => {
|
||||
<div className="flex items-center flex-shrink-0 text-black mr-6">
|
||||
<Link to="/" className="text-2xl font-customFont font-bold tracking-wide">FIRMTRACKER</Link>
|
||||
</div>
|
||||
<div className="relative flex justify-center w-1/3">
|
||||
<input
|
||||
type="text"
|
||||
className="px-4 py-2 rounded-full border border-black focus:outline-none focus:border-indigo-500 w-full"
|
||||
/>
|
||||
<div className="absolute right-0 top-1/2 transform -translate-y-1/2">
|
||||
<img src={lupaIcon} alt="Lupa" className="w-8 h-8 mr-2" />
|
||||
</div>
|
||||
</div>
|
||||
<div className="relative flex items-center">
|
||||
<img
|
||||
src={profilIcon}
|
||||
|
Loading…
Reference in New Issue
Block a user