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