**Refactor imports and improve type annotations**

- Adjusted import statements across the codebase to align with consistent use of `type`.
- Unified usage of `EventSource` initialization.
- Introduced `RootDeps` type for shared dependencies.
- Commented out unused VitePWA configuration.
- Updated proxy target URLs in Vite configuration.
This commit is contained in:
geoffsee
2025-06-18 12:34:16 -04:00
parent 7454c9b54b
commit 3d16bd94b4
16 changed files with 53 additions and 59 deletions

View File

@@ -1,8 +1,8 @@
import React, { KeyboardEvent, useEffect } from "react";
import React, {type KeyboardEvent, useEffect } from "react";
import { Box, Flex, IconButton, Textarea } from "@chakra-ui/react";
import { Check, X } from "lucide-react";
import { observer } from "mobx-react-lite";
import { Instance } from "mobx-state-tree";
import { type Instance } from "mobx-state-tree";
import Message from "../../../models/Message";
import messageEditorStore from "../../../stores/MessageEditorStore";