feat(ui): show user and logout
This commit is contained in:
@@ -9,6 +9,7 @@ import Tabs from './ui/Tabs';
|
||||
import MarketHeader from './features/market/MarketHeader';
|
||||
import Button from './ui/Button';
|
||||
import TopNav from './layout/TopNav';
|
||||
import AuthStatus from './layout/AuthStatus';
|
||||
|
||||
function envNumber(name: string, fallback: number): number {
|
||||
const v = (import.meta as any).env?.[name];
|
||||
@@ -155,7 +156,7 @@ export default function App() {
|
||||
|
||||
return (
|
||||
<AppShell
|
||||
header={<TopNav active="trade" />}
|
||||
header={<TopNav active="trade" rightSlot={<AuthStatus />} />}
|
||||
top={<TickerBar items={topItems} />}
|
||||
main={
|
||||
<div className="tradeMain">
|
||||
|
||||
Reference in New Issue
Block a user