feat: show model based on configured Keys

This commit is contained in:
Wentao Lyu 2023-03-16 14:44:14 +08:00
parent 41f351786f
commit 131af50034
5 changed files with 38 additions and 7 deletions

View file

@ -5,7 +5,7 @@ import TextChat from './components/Main/TextChat';
import Nav from './components/Nav';
import MobileNav from './components/Nav/MobileNav';
import useDocumentTitle from '~/hooks/useDocumentTitle';
import { useSelector } from 'react-redux';
import { useDispatch, useSelector } from 'react-redux';
const App = () => {
const { messages, messageTree } = useSelector((state) => state.messages);