aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map/main/CurrentPositionsMap.js
blob: 807954974ae4f06deed05550f98e2ac19c8995c5 (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;