fix import errors
This commit is contained in:
parent
937d553bce
commit
0701f1b761
4 changed files with 4 additions and 4 deletions
|
|
@ -1,3 +1,3 @@
|
|||
export { useMainEditor } from "./MainEditorProvider";
|
||||
export { MainEditorProvider, useMainEditor } from "./MainEditorProvider";
|
||||
export { TipTapEditor } from "./TipTapEditor";
|
||||
export { resolveEditorContent } from "./utils/resolveEditorContent";
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { Editor } from "@tiptap/react";
|
||||
import { KeyboardEvent } from "react";
|
||||
import { getPlatform, isWebEnvironment } from "../../../util";
|
||||
import { CodeBlock } from "../TipTapEditor";
|
||||
import { CodeBlock } from "../TipTapEditor/extensions";
|
||||
|
||||
const isWebEnv = isWebEnvironment();
|
||||
|
||||
|
|
|
|||
|
|
@ -42,10 +42,10 @@ import {
|
|||
setDialogMessage,
|
||||
setShowDialog,
|
||||
} from "../../redux/slices/uiSlice";
|
||||
import { streamResponseThunk } from "../../redux/thunks";
|
||||
import { cancelStream } from "../../redux/thunks/cancelStream";
|
||||
import { streamEditThunk } from "../../redux/thunks/edit";
|
||||
import { loadLastSession } from "../../redux/thunks/session";
|
||||
import { streamResponseThunk } from "../../redux/thunks/streamResponse";
|
||||
import { isJetBrains, isMetaEquivalentKeyPressed } from "../../util";
|
||||
|
||||
import { getLocalStorage, setLocalStorage } from "../../util/localStorage";
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import {
|
|||
SlashCommandDescription,
|
||||
} from "core";
|
||||
import * as URI from "uri-js";
|
||||
import { resolveEditorContent } from "../../components/mainInput/TipTapEditor/utils";
|
||||
import { resolveEditorContent } from "../../components/mainInput/TipTapEditor";
|
||||
import { selectSelectedChatModel } from "../slices/configSlice";
|
||||
import { ThunkApiType } from "../store";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue