aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map/CurrentPositionsMap.js
blob: 874e080424479b345875b514f429e2fb4be141f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
import React, { } from 'react';
import { useSelector } from 'react-redux';

import PositionsMap from './PositionsMap';

const CurrentPositionsMap = () => {
  const positions = useSelector((state) => state.positions.items);
  return (<PositionsMap positions={Object.values(positions)} />);
};

export default CurrentPositionsMap;