From a2bc236455eda2c8c91070c98a54014fc66c3949 Mon Sep 17 00:00:00 2001 From: Zahid Khawaja Date: Fri, 27 Jan 2023 17:08:24 -0500 Subject: [PATCH] Cleanup --- pages/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/index.js b/pages/index.js index 80c5fbc..01fd61d 100644 --- a/pages/index.js +++ b/pages/index.js @@ -1,15 +1,15 @@ +import { useState, useRef, useEffect } from 'react' import Head from 'next/head' import styles from '../styles/Home.module.css' -import { useState, useRef, useEffect } from 'react' -import CircularProgress from '@mui/material/CircularProgress'; -import ReactMarkdown from 'react-markdown' import Image from 'next/image' +import ReactMarkdown from 'react-markdown' +import CircularProgress from '@mui/material/CircularProgress'; export default function Home() { const [userInput, setUserInput] = useState(""); - const [loading, setLoading] = useState(false); const [history, setHistory] = useState([]); + const [loading, setLoading] = useState(false); const [messages, setMessages] = useState([ { "message": "Hi there! How can I help?",