aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map/CurrentPositionsMap.js
blob: 0bfe4fcdc32fdb2149364ac3536b752485b03aa9 (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 => Object.values(state.positions.items));
  return (<PositionsMap positions={positions} />);
}

export default CurrentPositionsMap;