diff --git a/src/components/App.tsx b/src/components/App.tsx index e54b3ea..4754179 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -11,7 +11,6 @@ import { Router, } from "@tanstack/react-location"; import { ChatRoute } from "../routes/ChatRoute"; -import { DataRoute } from "../routes/DataRoute"; import { IndexRoute } from "../routes/IndexRoute"; import { Layout } from "./Layout"; @@ -38,7 +37,6 @@ export function App() { routes={[ { path: "/", element: }, { path: "/chats/:chatId", element: }, - { path: "/data", element: }, ]} > - - - { - const file = e.currentTarget.files?.[0]; - if (!file) return; - await db.import(file, { - acceptNameDiff: true, - overwriteValues: true, - acceptMissingTables: true, - clearTablesBeforeImport: true, - }); - }} - accept="application/json" - hidden - /> - - - - - ); -}