Skip to content

Commit

Permalink
Update home.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
kouzikouzi authored Feb 22, 2024
1 parent feed730 commit fbe5377
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions app/components/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,19 +160,17 @@ function Screen() {
</>
) : (
<>
<SideBar className={isHome ? styles["sidebar-show"] : ""} />

<div className={styles["window-content"]} id={SlotID.AppBody}>
{ tbdsCode === 'lab.ourtbds.com' && (
<Routes>
<Route path={Path.Home} element={<Chat />} />
<Route path={Path.NewChat} element={<NewChat />} />
<Route path={Path.Masks} element={<MaskPage />} />
<Route path={Path.Chat} element={<Chat />} />
<Route path={Path.Settings} element={<Settings />} />
</Routes>
)}
</div>
{ tbdsCode === 'lab.ourtbds.com' && (<SideBar className={isHome ? styles["sidebar-show"] : ""} />
<div className={styles["window-content"]} id={SlotID.AppBody}>
<Routes>
<Route path={Path.Home} element={<Chat />} />
<Route path={Path.NewChat} element={<NewChat />} />
<Route path={Path.Masks} element={<MaskPage />} />
<Route path={Path.Chat} element={<Chat />} />
<Route path={Path.Settings} element={<Settings />} />
</Routes>
</div>
)}
</>
)}
</div>
Expand Down

0 comments on commit fbe5377

Please sign in to comment.