Fix jwt-token

This commit is contained in:
2025-09-10 06:51:54 +02:00
parent 9ad21bc1f5
commit ad3b95646a
5 changed files with 326 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ import React, { useState } from 'react';
import { Outlet, Link, useLocation } from 'react-router-dom';
import { useAuth } from '../contexts/AuthContext';
import { useSocket } from '../contexts/SocketContext';
import DebugToggle from './DebugToggle';
import {
HomeIcon,
MapIcon,
@@ -148,6 +149,9 @@ const Layout = () => {
</div>
</div>
</main>
{/* Debug Toggle (floating button) */}
<DebugToggle />
</div>
</div>
);