implementirano kopiranje linka
This commit is contained in:
@@ -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 />
|
||||
</>)
|
||||
}
|
||||
Reference in New Issue
Block a user