chore: format project

This commit is contained in:
Justin Luoma 2024-05-25 08:16:13 -04:00
parent 79d4d87f24
commit cd7722afdb
31 changed files with 504 additions and 409 deletions

View file

@ -1,7 +1,7 @@
/* eslint-disable @next/next/no-img-element */
import { Dialog, Transition } from '@headlessui/react';
import { Document } from '@langchain/core/documents';
import { Fragment, useState } from 'react';
import {Dialog, Transition} from '@headlessui/react';
import {Document} from '@langchain/core/documents';
import {Fragment, useState} from 'react';
const MessageSources = ({ sources }: { sources: Document[] }) => {
const [isDialogOpen, setIsDialogOpen] = useState(false);

View file

@ -1,9 +1,9 @@
/* eslint-disable @next/next/no-img-element */
import { ImagesIcon, PlusIcon } from 'lucide-react';
import { useState } from 'react';
import {ImagesIcon, PlusIcon} from 'lucide-react';
import {useState} from 'react';
import Lightbox from 'yet-another-react-lightbox';
import 'yet-another-react-lightbox/styles.css';
import { Message } from './ChatWindow';
import {Message} from './ChatWindow';
type Image = {
url: string;

View file

@ -1,9 +1,9 @@
/* eslint-disable @next/next/no-img-element */
import { PlayCircle, PlayIcon, PlusIcon, VideoIcon } from 'lucide-react';
import { useState } from 'react';
import Lightbox, { GenericSlide, VideoSlide } from 'yet-another-react-lightbox';
import {PlayCircle, PlusIcon, VideoIcon} from 'lucide-react';
import {useState} from 'react';
import Lightbox, {GenericSlide, VideoSlide} from 'yet-another-react-lightbox';
import 'yet-another-react-lightbox/styles.css';
import { Message } from './ChatWindow';
import {Message} from './ChatWindow';
type Video = {
url: string;

View file

@ -1,12 +1,11 @@
'use client';
import { cn } from '@/lib/utils';
import { BookOpenText, Home, Search, SquarePen, Settings } from 'lucide-react';
import { BookOpenText, Home, Search, Settings, SquarePen } from 'lucide-react';
import Link from 'next/link';
import { useSelectedLayoutSegments } from 'next/navigation';
import React, { Fragment, useState } from 'react';
import React, { useState } from 'react';
import Layout from './Layout';
import { Dialog, Transition } from '@headlessui/react';
import SettingsDialog from './SettingsDialog';
const Sidebar = ({ children }: { children: React.ReactNode }) => {