feat: wire up loyalty + chat — register routes, API types, connect LoyaltyPage, add ChatWidget to layout
This commit is contained in:
@@ -2,6 +2,7 @@ import { Outlet, Navigate } from 'react-router-dom'
|
||||
import { useState } from 'react'
|
||||
import { Sidebar } from '../components/layout/Sidebar'
|
||||
import { Topbar } from '../components/layout/Topbar'
|
||||
import { ChatWidget } from '../components/chat/ChatWidget'
|
||||
import { useAuth } from '../contexts/AuthContext'
|
||||
|
||||
export function AppLayout() {
|
||||
@@ -20,6 +21,8 @@ export function AppLayout() {
|
||||
<Outlet />
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<ChatWidget />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user