diff --git a/app/(app)/settings/fields/page.tsx b/app/(app)/settings/fields/page.tsx
index 8c361a5..9a1e34d 100644
--- a/app/(app)/settings/fields/page.tsx
+++ b/app/(app)/settings/fields/page.tsx
@@ -36,14 +36,14 @@ export default async function FieldsSettingsPage() {
{ key: "llm_prompt", label: "LLM Prompt", editable: true },
{
key: "isVisibleInList",
- label: "Always show in transactions table",
+ label: "Show in transactions table",
type: "checkbox",
defaultValue: false,
editable: true,
},
{
key: "isVisibleInAnalysis",
- label: "Always show in analysis form",
+ label: "Show in analysis form",
type: "checkbox",
defaultValue: false,
editable: true,
diff --git a/app/(app)/unsorted/layout.tsx b/app/(app)/unsorted/layout.tsx
new file mode 100644
index 0000000..33cc80c
--- /dev/null
+++ b/app/(app)/unsorted/layout.tsx
@@ -0,0 +1,3 @@
+export default function UnsortedLayout({ children }: { children: React.ReactNode }) {
+ return
{children}
+}
diff --git a/app/(app)/unsorted/loading.tsx b/app/(app)/unsorted/loading.tsx
index 28e9bdb..f3db262 100644
--- a/app/(app)/unsorted/loading.tsx
+++ b/app/(app)/unsorted/loading.tsx
@@ -3,7 +3,7 @@ import { Loader2 } from "lucide-react"
export default function Loading() {
return (
-
+ <>
Loading unsorted files...
@@ -27,6 +27,6 @@ export default function Loading() {
-
+ >
)
}
diff --git a/app/(app)/unsorted/page.tsx b/app/(app)/unsorted/page.tsx
index 2627c1b..b72bc13 100644
--- a/app/(app)/unsorted/page.tsx
+++ b/app/(app)/unsorted/page.tsx
@@ -32,7 +32,7 @@ export default async function UnsortedPage() {
const settings = await getSettings(user.id)
return (
-
+ <>
You have {files.length} unsorted files
{files.length > 1 && }
@@ -103,6 +103,6 @@ export default async function UnsortedPage() {
)}
-
+ >
)
}
diff --git a/components/unsorted/analyze-form.tsx b/components/unsorted/analyze-form.tsx
index 1865961..ebef80d 100644
--- a/components/unsorted/analyze-form.tsx
+++ b/components/unsorted/analyze-form.tsx
@@ -3,20 +3,20 @@
import { useNotification } from "@/app/(app)/context"
import { analyzeFileAction, deleteUnsortedFileAction, saveFileAsTransactionAction } from "@/app/(app)/unsorted/actions"
import { CurrencyConverterTool } from "@/components/agents/currency-converter"
+import { ItemsDetectTool } from "@/components/agents/items-detect"
+import ToolWindow from "@/components/agents/tool-window"
import { FormError } from "@/components/forms/error"
import { FormSelectCategory } from "@/components/forms/select-category"
import { FormSelectCurrency } from "@/components/forms/select-currency"
import { FormSelectProject } from "@/components/forms/select-project"
import { FormSelectType } from "@/components/forms/select-type"
import { FormInput, FormTextarea } from "@/components/forms/simple"
+import { Badge } from "@/components/ui/badge"
import { Button } from "@/components/ui/button"
import { Category, Currency, Field, File, Project } from "@/prisma/client"
import { format } from "date-fns"
-import { Brain, Loader2, Trash2, ArrowDownToLine } from "lucide-react"
+import { ArrowDownToLine, Brain, Loader2, Trash2 } from "lucide-react"
import { startTransition, useActionState, useMemo, useState } from "react"
-import ToolWindow from "@/components/agents/tool-window"
-import { ItemsDetectTool } from "@/components/agents/items-detect"
-import { Badge } from "@/components/ui/badge"
export default function AnalyzeForm({
file,
@@ -309,7 +309,7 @@ export default function AnalyzeForm({
)}
-
+