implementirano kopiranje linka

This commit is contained in:
2024-12-13 15:38:48 +01:00
parent 6d45892108
commit 439de9d305
2 changed files with 16 additions and 2 deletions

View File

@@ -8,6 +8,8 @@ import Pagination from "./Pagination";
import { LocationCard } from "./LocationCard";
import { BillingLocation, YearMonth } from "../lib/db-types";
import { useRouter, useSearchParams } from "next/navigation";
import { ToastContainer } from 'react-toastify';
import 'react-toastify/dist/ReactToastify.css';
const getNextYearMonth = (yearMonth:YearMonth) => {
const {year, month} = yearMonth;
@@ -88,6 +90,6 @@ export const MonthLocationList:React.FC<MonthLocationListProps > = ({
<div className="mt-5 flex w-full justify-center">
<Pagination availableYears={availableYears} />
</div>
<ToastContainer />
</>)
}