Skip to content

Commit

Permalink
Update App.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
VarunJoshi10 authored Jun 16, 2024
1 parent a9d8152 commit 8d33375
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/common/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import LoggedInViewComponent from '../Login/LoggenInViewComponent';
import { FaCircleInfo } from 'react-icons/fa6';

const App: React.FC = () => {
const openAIKey = useAppState((state) => state.settings.openAIKey);
const zynapseKey = useAppState((state) => state.settings.zynapseKey);
const [loggedIn, setLoggedIn] = useState(false);
const [selectedFile, setSelectedFile] = useState<File | null>(null);
const [showModal, setShowModal] = useState(false);
Expand Down Expand Up @@ -146,11 +146,11 @@ const App: React.FC = () => {
};

const AppUI: React.FC = () => {
const openAIKey = useAppState((state) => state.settings.openAIKey);
const zynapseKey = useAppState((state) => state.settings.zynapseKey);

return (
<>
{/* {openAIKey ? <TaskUI /> : <SetAPIKey />} */}
{/* {zynapseKey ? <TaskUI /> : <SetAPIKey />} */}
<TaskUI />
</>
);
Expand Down

0 comments on commit 8d33375

Please sign in to comment.