Skip to content

Commit

Permalink
add type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
jkafader-esnet committed Aug 19, 2024
1 parent f19f53b commit dfa84e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MapPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ export class MapPanel extends Component<MapPanelProps> {
if (!forceRefresh && JSON.parse(memoryTopology) && editorTopology === memoryTopology){
topologyData[layer] = memoryTopology;
} else if (editorTopology !== memoryTopology) {
topologyData[layer] = editorTopology;
topologyData[layer] = editorTopology as string;
}

// here, we parse the topology data (as strings in topologyData)
Expand Down

0 comments on commit dfa84e6

Please sign in to comment.