fix(v2): version display — top-left inside sidebar above header

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Erik 2026-04-13 13:32:25 +02:00
parent 6b0b26c287
commit 869507a3ef
8 changed files with 60 additions and 62 deletions

View file

@ -53,6 +53,7 @@ export const MapLayout: React.FC<Props> = ({ data, onViewToggle }) => {
showPortals={showPortals}
onToggleHeatmap={setShowHeatmap}
onTogglePortals={setShowPortals}
version={version}
/>
<MapView
players={players}
@ -65,7 +66,6 @@ export const MapLayout: React.FC<Props> = ({ data, onViewToggle }) => {
<WindowRenderer characters={data.characters} chatMessages={data.chatMessages}
nearbyObjects={data.nearbyObjects} socket={data.socketRef.current} />
<RareNotification recentRares={data.recentRares} />
{version && <div className="ml-version">v{version}</div>}
</div>
</WindowManagerProvider>
);