We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2e84a8 commit 895888dCopy full SHA for 895888d
packages/base/src/panelview/components/story-maps/StoryViewerPanel.tsx
@@ -14,7 +14,9 @@ interface IStoryViewerPanelProps {
14
15
function StoryViewerPanel({ model }: IStoryViewerPanelProps) {
16
const [currentIndexDisplayed, setCurrentIndexDisplayed] = useState(0);
17
- const [storyData, setStoryData] = useState<IJGISStoryMap | null>(null);
+ const [storyData, setStoryData] = useState<IJGISStoryMap | null>(
18
+ model.getSelectedStory().story ?? null,
19
+ );
20
21
// Derive landmarks from story data
22
const landmarks = useMemo(() => {
0 commit comments