fix: 更新token
This commit is contained in:
@@ -3,6 +3,7 @@ import { Play, Pause, SkipBack, SkipForward, History } from 'lucide-react'
|
||||
import { usePlaybackStore, REPLAY_TICKS, REPLAY_START, REPLAY_END } from '@/store/playbackStore'
|
||||
import { useSituationStore } from '@/store/situationStore'
|
||||
import { NewsTicker } from './NewsTicker'
|
||||
import { config } from '@/config'
|
||||
|
||||
function formatTick(iso: string): string {
|
||||
const d = new Date(iso)
|
||||
@@ -78,7 +79,7 @@ export function TimelinePanel() {
|
||||
数据回放
|
||||
</button>
|
||||
|
||||
{!isReplayMode && (
|
||||
{!isReplayMode && config.showNewsTicker && (
|
||||
<div className="min-w-0 flex-1">
|
||||
<NewsTicker
|
||||
updates={situation.recentUpdates}
|
||||
|
||||
Reference in New Issue
Block a user