diff --git a/app/components/filter.tsx b/app/components/filter.tsx
index 90ed57b..6cfe2df 100644
--- a/app/components/filter.tsx
+++ b/app/components/filter.tsx
@@ -4,6 +4,7 @@ import React from "react";
import { Input } from "./input";
import { Select } from "./select";
import { useSearchParams } from "react-router-dom";
+import { Button } from "./button";
interface FilterForm {
query: string;
@@ -52,39 +53,47 @@ export function Filter({ onFilterChange }: FilterProps) {
}, [watch, onFilterChange]);
return (
-
-
-
-
+
- );
+
(
+ {
+ const val = e.target.value;
+ onChange(val ? parse(val, "yyyy-MM-dd", new Date()) : null);
+ }}
+ {...fieldProps}
+ />
+ )}
+ />
+
+
+ );
}
diff --git a/uno.config.ts b/uno.config.ts
index 14ad68f..d44082c 100644
--- a/uno.config.ts
+++ b/uno.config.ts
@@ -8,9 +8,9 @@ import {
} from "unocss";
export default defineConfig({
- content: {
- filesystem: ["**/*.{html,js,ts,jsx,tsx,vue,svelte,astro}"],
- },
- presets: [presetWind3({ dark: "media" }), presetIcons(), presetForms()],
- transformers: [transformerDirectives(), transformerVariantGroup()],
+ content: {
+ filesystem: ["app/**/*.{html,js,ts,tsx}"],
+ },
+ presets: [presetWind3({ dark: "media" }), presetIcons(), presetForms()],
+ transformers: [transformerDirectives(), transformerVariantGroup()],
});