reorganizes the code, introduces preference slice

This commit is contained in:
ajaythapliyal
2023-02-18 00:58:04 +05:30
parent 350ccad077
commit cb50795ac1
14 changed files with 45 additions and 78 deletions

View File

@@ -1,11 +1,11 @@
import { Routes, Route } from 'react-router-dom';
import Navigation from './components/Navigation';
import Conversation from './components/Conversation/Conversation';
import APIKeyModal from './components/APIKeyModal';
import About from './components/About';
import Navigation from './Navigation';
import Conversation from './conversation/Conversation';
import APIKeyModal from './preferences/APIKeyModal';
import About from './About';
import { useState } from 'react';
import { ActiveState } from './models/misc';
import { selectApiKeyStatus } from './store';
import { selectApiKeyStatus } from './preferences/preferenceSlice';
import { useSelector } from 'react-redux';
export default function App() {