prettier
This commit is contained in:
parent
5b1aaee605
commit
3b737a078a
63 changed files with 1132 additions and 1853 deletions
|
@ -1,14 +1,8 @@
|
|||
import { Check, ClipboardList } from 'lucide-react';
|
||||
import { Message } from '../ChatWindow';
|
||||
import { useState } from 'react';
|
||||
import { Check, ClipboardList } from "lucide-react";
|
||||
import { Message } from "../ChatWindow";
|
||||
import { useState } from "react";
|
||||
|
||||
const Copy = ({
|
||||
message,
|
||||
initialMessage,
|
||||
}: {
|
||||
message: Message;
|
||||
initialMessage: string;
|
||||
}) => {
|
||||
const Copy = ({ message, initialMessage }: { message: Message; initialMessage: string }) => {
|
||||
const [copied, setCopied] = useState(false);
|
||||
|
||||
return (
|
||||
|
|
|
@ -1,12 +1,6 @@
|
|||
import { ArrowLeftRight } from 'lucide-react';
|
||||
import { ArrowLeftRight } from "lucide-react";
|
||||
|
||||
const Rewrite = ({
|
||||
rewrite,
|
||||
messageId,
|
||||
}: {
|
||||
rewrite: (messageId: string) => void;
|
||||
messageId: string;
|
||||
}) => {
|
||||
const Rewrite = ({ rewrite, messageId }: { rewrite: (messageId: string) => void; messageId: string }) => {
|
||||
return (
|
||||
<button
|
||||
onClick={() => rewrite(messageId)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue