diff --git a/packages/paste-website/src/components/assistant/AssistantComposer.tsx b/packages/paste-website/src/components/assistant/AssistantComposer.tsx index 7fe178c842..91478213ac 100644 --- a/packages/paste-website/src/components/assistant/AssistantComposer.tsx +++ b/packages/paste-website/src/components/assistant/AssistantComposer.tsx @@ -1,3 +1,4 @@ +import { useIsMutating } from "@tanstack/react-query"; import { Button } from "@twilio-paste/button"; import { ChatComposer, ChatComposerActionGroup, ChatComposerContainer } from "@twilio-paste/chat-composer"; import { SendIcon } from "@twilio-paste/icons/esm/SendIcon"; @@ -10,12 +11,11 @@ import { } from "@twilio-paste/lexical-library"; import * as React from "react"; import { useShallow } from "zustand/react/shallow"; -import { useIsMutating } from "@tanstack/react-query"; +import { useAssistantRunStore } from "../../stores/assistantRunStore"; import { useAssistantThreadsStore } from "../../stores/assistantThreadsStore"; import useStoreWithLocalStorage from "../../stores/useStore"; import { EnterKeySubmitPlugin } from "./EnterKeySubmitPlugin"; -import { useAssistantRunStore } from "../../stores/assistantRunStore"; export const AssistantComposer: React.FC<{ onMessageCreation: (message: string, selectedThread?: string) => void }> = ({ onMessageCreation, diff --git a/packages/paste-website/src/components/assistant/AssistantMessage.tsx b/packages/paste-website/src/components/assistant/AssistantMessage.tsx index f87b0a056f..4a557deb70 100644 --- a/packages/paste-website/src/components/assistant/AssistantMessage.tsx +++ b/packages/paste-website/src/components/assistant/AssistantMessage.tsx @@ -4,9 +4,9 @@ import { AIChatMessageBody, AIChatMessageBodyProps, } from "@twilio-paste/ai-chat-log"; +import { compiler } from "markdown-to-jsx"; import { type Message } from "openai/resources/beta/threads/messages"; import * as React from "react"; -import { compiler } from "markdown-to-jsx"; import { formatTimestamp } from "../../utils/formatTimestamp"; import { assistantMarkdownOptions } from "./AssistantMarkdown";