delegate footer to own component

This commit is contained in:
Daniel Avila 2023-02-11 12:54:02 -05:00
parent e8c514fff9
commit d9d5f4a509
2 changed files with 20 additions and 12 deletions

View file

@ -1,6 +1,7 @@
import React, { useState } from 'react';
import SubmitButton from './SubmitButton';
import Regenerate from './Regenerate';
import Footer from './Footer';
import TextareaAutosize from 'react-textarea-autosize';
import handleSubmit from '~/utils/handleSubmit';
import { useSelector, useDispatch } from 'react-redux';
@ -127,18 +128,7 @@ export default function TextChat({ messages, reloadConvos }) {
)}
</div>
</form>
<div className="px-3 pt-2 pb-3 text-center text-xs text-black/50 dark:text-white/50 md:px-4 md:pt-3 md:pb-6">
<a
href="https://help.openai.com/en/articles/6825453-chatgpt-release-notes"
target="_blank"
rel="noreferrer"
className="underline"
>
ChatGPT Jan 30 Version
</a>
. Free Research Preview. Our goal is to make AI systems more natural and safe to
interact with. Your feedback will help us improve.
</div>
<Footer />
</div>
);
}