Layout save fix

This commit is contained in:
headlesdev
2025-05-19 12:30:18 +02:00
parent 458af58e99
commit deed90c83c
2 changed files with 9 additions and 7 deletions

View File

@@ -1,4 +1,5 @@
import { ChangeEvent } from "react";
import Cookies from "js-cookie";
interface SearchAndLayoutProps {
search: string;
@@ -11,8 +12,9 @@ const SearchAndLayout = ({
search,
setSearch,
itemPerPage,
setItemPerPage
}: SearchAndLayoutProps) => (
setItemPerPage,
}: SearchAndLayoutProps) => {
return (
<div className="flex gap-2 items-center pt-4">
<input
type="text"
@@ -34,5 +36,6 @@ const SearchAndLayout = ({
</select>
</div>
);
};
export default SearchAndLayout;