v0.10.7 fixed UI settings
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
|
||||
import { useState, useEffect, useCallback } from 'react';
|
||||
import { useAuth } from '../contexts/AuthContext.jsx';
|
||||
import UserFooter from './UserFooter.jsx';
|
||||
|
||||
// ── Constants ─────────────────────────────────────────────────────────────────
|
||||
|
||||
@@ -335,7 +336,7 @@ function KeyEntry({ onSubmit }) {
|
||||
|
||||
// ── Main HostPanel ────────────────────────────────────────────────────────────
|
||||
|
||||
export default function HostPanel() {
|
||||
export default function HostPanel({ onProfile, onHelp, onAbout }) {
|
||||
const { user } = useAuth();
|
||||
const [adminKey, setAdminKey] = useState(() => sessionStorage.getItem('jama-host-key') || '');
|
||||
const [status, setStatus] = useState(null);
|
||||
@@ -486,6 +487,11 @@ export default function HostPanel() {
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
{/* User footer */}
|
||||
<div className="sidebar-footer">
|
||||
<UserFooter onProfile={onProfile} onHelp={onHelp} onAbout={onAbout} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user