diff --git a/bun.lockb b/bun.lockb index 47ffdfe..e908420 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/components/WindowBody.tsx b/components/WindowBody.tsx index 61cd4a3..7bca1fc 100644 --- a/components/WindowBody.tsx +++ b/components/WindowBody.tsx @@ -10,7 +10,6 @@ import { Explorer } from "./programs/Explorer"; import { Settings } from "./programs/Settings"; import { History } from "./programs/History"; import { Alert } from "./programs/Alert"; -import { alert } from "@/lib/alert"; export function WindowBody({ state }: { state: WindowState }) { switch (state.program.type) { @@ -27,10 +26,6 @@ export function WindowBody({ state }: { state: WindowState }) { case "settings": return ; case "history": - alert({ - message: "history", - icon: "x", - }); return ; case "alert": return ; diff --git a/components/WindowMenuBar.tsx b/components/WindowMenuBar.tsx index 0a1ddd8..018306d 100644 --- a/components/WindowMenuBar.tsx +++ b/components/WindowMenuBar.tsx @@ -114,6 +114,14 @@ export function WindowMenuBar({ id }: { id: string }) { type: "history", programID, }, + pos: { + x: 0, + y: 0, + }, + size: { + width: 300, + height: 300, + }, }); }, }, diff --git a/package.json b/package.json index c8f27c8..f467a12 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "fs-extra": "^11.2.0", "idb": "^8.0.0", "immer": "^10.1.1", - "jotai": "^2.8.0", + "jotai": "^2.9.2", "next": "^14.2.4", "openai": "^4.41.1", "openai-html-stream": "^1.0.0",